3480 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
aab043b0f3
Merge pull request #4252 from kpfleming/assert-empty-buffer-buffereduart
stm32: Assert in BufferedUart that the buffers are not empty.
2025-05-27 15:17:29 +00:00
Ulf Lilleengen
5f3204f9c3
Merge pull request #4232 from RaulIQ/main
[embassy-stm32] add PWM multi channel waveform generation using DMA burst mode
2025-05-27 06:25:33 +00:00
Kevin P. Fleming
b9f7478ada stm32: Improvements to CRC HAL.
* Corrects spelling and grammar errors in documentation.

* Removes non-v1 code from v1-only source file.

* Adds 'read' operation for v2/v3, to be consistent with v1.

* Removes 'reset' from the v2/v3 'reconfigure' operation to match the
  documentation (the only user is the 'new' function which already
  issues a reset).
2025-05-26 18:43:09 -04:00
ROMemories
44c53365ad fixup! feat(stm32-l): provide a const constructor on rcc::Config 2025-05-26 14:44:48 +02:00
ROMemories
a5a27ef52b fixup! feat(stm32-wba): provide a const constructor on rcc::Config 2025-05-26 14:43:46 +02:00
ROMemories
5d6b51d910 fixup! feat(stm32-l): provide a const constructor on rcc::Config 2025-05-26 14:43:39 +02:00
ROMemories
fce84bd51b fixup! feat(stm32-g4): provide a const constructor on rcc::Config 2025-05-26 14:43:29 +02:00
ROMemories
ca17b41d0d fixup! feat(stm32-g0): provide a const constructor on rcc::Config 2025-05-26 14:43:21 +02:00
ROMemories
8fa07ac062 fixup! feat(stm32-c0): provide a const constructor on rcc::Config 2025-05-26 14:43:07 +02:00
Ivan Li
cb1bccfd5c feat(stm32): Add DAC::new_unbuffered method.
Signed-off-by: Ivan Li <ivanli2048@gmail.com>
2025-05-25 21:39:23 +08:00
Kevin P. Fleming
a860fea0a5 stm32: Assert in BufferedUart that the buffers are not empty. 2025-05-25 08:51:27 -04:00
Kevin P. Fleming
ca5fe2645d Move new documentation to RingBufferedUartRx struct. 2025-05-24 19:34:07 -04:00
Kevin P. Fleming
2ed5e04fd0 stm32: Expand documentation of RingBufferedUartRx.
Explain to users of this driver how 'waiting for bytes' actually
works, and what that may mean for latency introduced in their
application.

Also correct references to 'start' to be 'start_uart'.
2025-05-24 16:39:25 -04:00
Ulf Lilleengen
94f9b27074
Merge pull request #4228 from okhsunrog/adding_eeprom
Adding EEPROM support to embassy-stm32
2025-05-23 14:15:15 +02:00
RaulIQ
967ae161a0 doc: update documentation to pass test 2025-05-22 10:56:48 +03:00
RaulIQ
3c3c7877cd format simple_pwm.rs with rustfmt 2025-05-22 10:44:38 +03:00
Matt Johnston
5e49985ed6 embassy-sync: bump to 0.7.0 2025-05-22 13:29:55 +08:00
okhsunrog
e4a6d7aedd fix: lock on early return 2025-05-21 21:30:23 +03:00
okhsunrog
966186064e fix UB 2025-05-21 20:59:49 +03:00
okhsunrog
be831d0e79 Merge remote-tracking branch 'origin/main' into adding_eeprom 2025-05-21 17:10:49 +03:00
RaulIQ
62ffc995f1 improve waveform_up_multi_channel documentation 2025-05-21 16:39:41 +03:00
ROMemories
576241fe2a feat(stm32-wba): provide a const constructor on rcc::Config 2025-05-21 14:19:24 +02:00
ROMemories
da86052586 feat(stm32-u5): provide a const constructor on rcc::Config 2025-05-21 14:19:21 +02:00
ROMemories
48b36adafd feat(stm32-h): provide a const constructor on rcc::Config 2025-05-21 14:19:16 +02:00
ROMemories
ea243761f7 feat(stm32-g4): provide a const constructor on rcc::Config 2025-05-21 14:19:12 +02:00
ROMemories
26fb6eb9f6 feat(stm32-g0): provide a const constructor on rcc::Config 2025-05-21 14:19:09 +02:00
ROMemories
3fcfec7b94 feat(stm32-f247): provide a const constructor on rcc::Config 2025-05-21 14:19:04 +02:00
ROMemories
4e6df17047 feat(stm32-f013): provide a const constructor on rcc::Config 2025-05-21 14:18:52 +02:00
ROMemories
79b24bd35d feat(stm32-c0): provide a const constructor on rcc::Config 2025-05-21 14:18:48 +02:00
ROMemories
65a22439d5 feat(stm32-l): provide a const constructor on rcc::Config 2025-05-21 14:18:43 +02:00
Adam Morgan
3c025ff377 Update stm32-metapac tag 2025-05-21 12:40:10 +02:00
Adam Morgan
0bbde1f659 Add support for rtc_v3h7rs 2025-05-21 12:40:10 +02:00
RaulIQ
05c5113556 add waveform_up_multichannel using DMAR/DCR 2025-05-21 12:27:25 +03:00
okhsunrog
437e45df2b make API more consistent 2025-05-21 09:44:28 +03:00
okhsunrog
bc265b98b7 adding docs 2025-05-21 08:46:52 +03:00
okhsunrog
1accd56005 new API 2025-05-21 08:30:38 +03:00
okhsunrog
21004fce0d always declare eeprom 2025-05-21 02:50:36 +03:00
okhsunrog
6d19f2fd4c nightly fmt 2025-05-21 02:43:41 +03:00
okhsunrog
7be84f137c eeprom support 2025-05-21 01:21:43 +03:00
okhsunrog
d335e30901 only support eeprom for l0 and l1 2025-05-21 00:44:24 +03:00
okhsunrog
c9f0afa494 import and re-export EEPROM_BASE and EEPROM_SIZE in flash module 2025-05-21 00:37:46 +03:00
okhsunrog
e93ae32546 adding eeprom constants to _generated.rs 2025-05-20 21:31:32 +03:00
okhsunrog
ab5e0150d4 update stm32-metapac 2025-05-20 18:48:44 +03:00
Dario Nieuwenhuis
f820eb2eba
Merge pull request #4212 from embassy-rs/fix-doc
fix: add bank confdiguration doc build features
2025-05-19 17:47:59 +02:00
Tobias Naumann
e0c5e93e78 Count all users of a given CAN instance and cleanup pins and RCC when the last user gets dropped 2025-05-19 15:38:57 +02:00
Yuri Astrakhan
ef0f29f0ed Update defmt dependencies 2025-05-18 20:52:09 +02:00
Dario Nieuwenhuis
e4fc487644 Add rand-core v0.9 support.
Co-Authored-By: Aurélien Jacobs <aurel@gnuage.org>
2025-05-18 20:35:36 +02:00
Ulf Lilleengen
1eb76eb591 fix: add bank configuration doc build features 2025-05-16 14:37:54 +02:00
Tobias Naumann
466e1ee9ef Impl Drop for stm32 Rng 2025-05-16 13:05:35 +02:00
Ralph Ursprung
117eb45fa0
add the possibility to document bind_interrupts structs
the `bind_interrupts` macro creates a `struct` for the interrupts. it
was so far not possible to document those (except for STM32) and there
was no generic documentation being generated/added either, thus the
`missing_docs` lint was triggered for consumers which enabled it.

with this change it is now possible to manually add a comment on the
`struct` being defined in the macro invocation.

to show that this works one RP example has been modified accordingly.
2025-05-15 18:27:40 +02:00