Commit Graph

6490 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
322606b5b9 stm32/timer: docs. 2023-12-19 22:56:25 +01:00
Ulf Lilleengen
b1c7c3f728 docs: document usb-logger and usb-dfu 2023-12-19 22:56:25 +01:00
Barnaby Walters
7c8eebe287 Reset .vscode/settings.json (doh) 2023-12-19 22:56:25 +01:00
Barnaby Walters
5d696f6d0d Documented usart public API 2023-12-19 22:56:25 +01:00
Dario Nieuwenhuis
f058698c25 stm32: document hrtim, qspi, sdmmc, spi. 2023-12-19 22:56:25 +01:00
eZio Pan
2c2783d795 update metapac dep 2023-12-19 22:56:25 +01:00
eZio Pan
81f7569a52 match up with metapac change 2023-12-19 22:56:25 +01:00
Ulf Lilleengen
1df1f8e742 docs: document public apis for cyw43 driver 2023-12-19 22:56:25 +01:00
Ulf Lilleengen
e65d6fa698 docs: document all embassy-rp public apis
Enable missing doc warnings.
2023-12-19 22:56:25 +01:00
Ulf Lilleengen
a7429a7f46 docs: document spi, rtc and rest of uart for embassy-rp 2023-12-19 22:56:25 +01:00
Ulf Lilleengen
5151bac60c docs: embassy-rp rustdoc and refactoring 2023-12-19 22:56:25 +01:00
Priit Laes
f993344b19 stm32: i2c: Clean up conditional code a bit
By moving conditional code inside the functions, we can
reduce duplication and in one case we can even eliminate one...
2023-12-19 22:56:25 +01:00
Dario Nieuwenhuis
565ed78f91 stm32/sai: fix typo. 2023-12-19 22:56:25 +01:00
Dario Nieuwenhuis
d3f3c425a2 stm32: more docs. 2023-12-19 22:56:25 +01:00
Dario Nieuwenhuis
f4fb0a2467 stm32/sai: docs, remove unused enums. 2023-12-19 22:56:25 +01:00
Dario Nieuwenhuis
3ee90e8d30 stm32/sai: remove unused Word trait. 2023-12-19 22:56:25 +01:00
Dario Nieuwenhuis
8da11edca5 stm32/sai: deduplicate code for subblocks A/B. 2023-12-19 22:56:25 +01:00
Dario Nieuwenhuis
49ba2036d6 stm32/sai: remove unimplemented SetConfig. 2023-12-19 22:56:25 +01:00
James Munns
fd48b8fa84 Fix nb on rp uart 2023-12-19 22:56:25 +01:00
Dario Nieuwenhuis
7f5526a9b1 stm32: more docs. 2023-12-19 22:56:25 +01:00
Dario Nieuwenhuis
b06e4a6ab4 stm32/can: docs. 2023-12-19 22:56:25 +01:00
Dario Nieuwenhuis
d709aa231b stm32/can: cleanup interrupt traits. 2023-12-19 22:56:25 +01:00
Dario Nieuwenhuis
91e107ea07 stm32/i2c: remove _timeout public API, share more code between v1/v2. 2023-12-19 22:56:25 +01:00
Ulf Lilleengen
42f5c8109b feat: support multiwrite flash traits if configured 2023-12-19 22:56:25 +01:00
Dario Nieuwenhuis
0c2274a0e3 stm32: add some docs. 2023-12-19 22:56:25 +01:00
RobertTDowling
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
djstrickland
c4d9feb36e remove suspendable field from embassy_usb::builder::Config 2023-12-19 22:56:25 +01:00
djstrickland
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
djstrickland
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
Adam Greig
0f98fcdb19 STM32: Enable flash support for STM32G4 2023-12-19 22:56:25 +01:00
Piotr Esden-Tempski
992a9565a8 STM32 QSPI: Fix flash selection. 2023-12-19 22:56:25 +01:00
eZio Pan
287f57b704 unify channel assign 2023-12-19 22:56:25 +01:00
eZio Pan
bee0edb3f8 cargo fmt 2023-12-19 22:56:25 +01:00
eZio Pan
d928228237 add ws2812 example for stm32f4 with PWM and DMA 2023-12-19 22:56:25 +01:00
Oliver Rockstedt
abbc2d73c3 STM32H7: adjust flash latency and programming delay for series in RM0468 2023-12-19 22:56:25 +01:00
Oliver Rockstedt
ac28d39b95 STM32H7: limit max frequency to 520MHz until cpu frequency boost option is implemented 2023-12-19 22:56:25 +01:00
Oliver Rockstedt
51a70307f0 STM32H7: adjust frequency limits for series in RM0468 2023-12-19 22:56:25 +01:00
Oliver Rockstedt
2cc9fea6d3 STM32H7: Allow PLL1 DIVP of 1 for certain series 2023-12-19 22:56:25 +01:00
Dario Nieuwenhuis
958b3c6de1 use released embedded-hal-mock. 2023-12-19 22:56:25 +01:00
Kaitlyn Kenwell
11157ddd15 Rename bootloader feature to dfu 2023-12-19 22:56:25 +01:00
Kaitlyn Kenwell
1c56523341 Abstract chip reset logic, add Reset impls for cortex-m and esp32c3 2023-12-19 22:56:25 +01:00
Kaitlyn Kenwell
39ac7e574f Adjust stm32wb-dfu example memory maps to fix linker errors 2023-12-19 22:56:25 +01:00
Kaitlyn Kenwell
7a5d090810 Adjust toml files, fix application example 2023-12-19 22:56:25 +01:00
Kaitlyn Kenwell
ccf4d854f8 Add examples to ci.sh 2023-12-19 22:56:25 +01:00
Kaitlyn Kenwell
beb587ca22 SCB::sys_reset has a DSB internally, no need to replicate 2023-12-19 22:56:25 +01:00
Kaitlyn Kenwell
b3e74ebc34 fmt 2023-12-19 22:56:25 +01:00
Kaitlyn Kenwell
29114c849d fmt 2023-12-19 22:56:25 +01:00
Kaitlyn Kenwell
4757257ac0 Address reviews 2023-12-19 22:56:25 +01:00
Kaitlyn Kenwell
686ee2cb14 Last fmt hopefully 2023-12-19 22:56:25 +01:00
Kaitlyn Kenwell
ea21052fde Formatting fixes, add example using stm32wb55 2023-12-19 22:56:25 +01:00