Commit Graph

6475 Commits

Author SHA1 Message Date
3ee90e8d30 stm32/sai: remove unused Word trait. 2023-12-19 22:56:25 +01:00
8da11edca5 stm32/sai: deduplicate code for subblocks A/B. 2023-12-19 22:56:25 +01:00
49ba2036d6 stm32/sai: remove unimplemented SetConfig. 2023-12-19 22:56:25 +01:00
fd48b8fa84 Fix nb on rp uart 2023-12-19 22:56:25 +01:00
7f5526a9b1 stm32: more docs. 2023-12-19 22:56:25 +01:00
b06e4a6ab4 stm32/can: docs. 2023-12-19 22:56:25 +01:00
d709aa231b stm32/can: cleanup interrupt traits. 2023-12-19 22:56:25 +01:00
91e107ea07 stm32/i2c: remove _timeout public API, share more code between v1/v2. 2023-12-19 22:56:25 +01:00
42f5c8109b feat: support multiwrite flash traits if configured 2023-12-19 22:56:25 +01:00
0c2274a0e3 stm32: add some docs. 2023-12-19 22:56:25 +01:00
44cc1954a9 STM32: Fix race in alarm setting, which impacted scheduling.
Detect potential race condition (should be rare) and return false back
to caller, allowing them to handle the possibility that either the
alarm was never set because it was in the past (old meaning of false),
or that in fact the alarm was set and may have fired within the race
window (new meaning of false). In either case, the caller needs to
make sure the callback got called.
2023-12-19 22:56:25 +01:00
c4d9feb36e remove suspendable field from embassy_usb::builder::Config 2023-12-19 22:56:25 +01:00
6181646314 Update usb.rs
- add check of `dev_resume_from_host` interrupt register to catch wake event
2023-12-19 22:56:25 +01:00
fa6039c92b add susependable field to embassy_usb::builder::Config
- allow for optional override of `Suspend` event for a UsbDevice
2023-12-19 22:56:25 +01:00
0f98fcdb19 STM32: Enable flash support for STM32G4 2023-12-19 22:56:25 +01:00
992a9565a8 STM32 QSPI: Fix flash selection. 2023-12-19 22:56:25 +01:00
287f57b704 unify channel assign 2023-12-19 22:56:25 +01:00
bee0edb3f8 cargo fmt 2023-12-19 22:56:25 +01:00
d928228237 add ws2812 example for stm32f4 with PWM and DMA 2023-12-19 22:56:25 +01:00
abbc2d73c3 STM32H7: adjust flash latency and programming delay for series in RM0468 2023-12-19 22:56:25 +01:00
ac28d39b95 STM32H7: limit max frequency to 520MHz until cpu frequency boost option is implemented 2023-12-19 22:56:25 +01:00
51a70307f0 STM32H7: adjust frequency limits for series in RM0468 2023-12-19 22:56:25 +01:00
2cc9fea6d3 STM32H7: Allow PLL1 DIVP of 1 for certain series 2023-12-19 22:56:25 +01:00
958b3c6de1 use released embedded-hal-mock. 2023-12-19 22:56:25 +01:00
11157ddd15 Rename bootloader feature to dfu 2023-12-19 22:56:25 +01:00
1c56523341 Abstract chip reset logic, add Reset impls for cortex-m and esp32c3 2023-12-19 22:56:25 +01:00
39ac7e574f Adjust stm32wb-dfu example memory maps to fix linker errors 2023-12-19 22:56:25 +01:00
7a5d090810 Adjust toml files, fix application example 2023-12-19 22:56:25 +01:00
ccf4d854f8 Add examples to ci.sh 2023-12-19 22:56:25 +01:00
beb587ca22 SCB::sys_reset has a DSB internally, no need to replicate 2023-12-19 22:56:25 +01:00
b3e74ebc34 fmt 2023-12-19 22:56:25 +01:00
29114c849d fmt 2023-12-19 22:56:25 +01:00
4757257ac0 Address reviews 2023-12-19 22:56:25 +01:00
686ee2cb14 Last fmt hopefully 2023-12-19 22:56:25 +01:00
ea21052fde Formatting fixes, add example using stm32wb55 2023-12-19 22:56:25 +01:00
6513d03fdf fmt 2023-12-19 22:56:25 +01:00
0b26b2d360 Add embassy-usb-dfu 2023-12-19 22:56:25 +01:00
08203d4c04 ci: fix test job not caching anything. 2023-12-19 22:56:25 +01:00
9d8dbd67fe Update embedded-hal to 1.0.0-rc.3 2023-12-19 22:56:25 +01:00
7b9b22d7f8 Merge pull request #2286 from eZioPan/update-metapac5
after stm32-metapac update, TIM CR1 ARPE enum to bool
2023-12-14 14:04:55 +00:00
879c0ad989 after stm32-metapac update, TIM CR1 ARPE enum to bool 2023-12-14 21:33:35 +08:00
2c3d399220 Merge pull request #2285 from plaes/boot-partition-formatting-docs-rs
embassy-boot: Fix formatting for tables
2023-12-14 07:44:07 +00:00
b17f16f0af embassy-boot: Fix formatting for tables
Tables describing the a-b flashing were all garbled up in the
cargo doc output, so fix up the syntax.
2023-12-14 09:12:54 +02:00
1279a1b7f6 Merge pull request #2283 from embassy-rs/clarify-boot-requirements
docs: more docs in embassy-boot crate documentation
2023-12-13 18:04:56 +00:00
876faa5685 docs: more docs in embassy-boot crate documentation 2023-12-13 19:00:26 +01:00
915423fc63 Merge pull request #2280 from plaes/embassy-boot-partition-docs
embassy-boot: Add explanation to dfu vs active size assertion
2023-12-13 09:50:42 +00:00
6782fb1efa embassy-boot: Add explanation to dfu vs active size assertion 2023-12-13 11:44:16 +02:00
14f41a71b6 Merge pull request #2276 from cschuhen/stm32f1-can-example
Add example for using CAN with STM32F103 (BluePill) with a real CAN
2023-12-11 11:36:47 +00:00
3626deecaa More formatting. 2023-12-11 21:26:23 +10:00
b34c8e3eb1 Update formatting. 2023-12-11 21:25:05 +10:00