2887 Commits

Author SHA1 Message Date
Willdew
3d617007a2 fixed n in set_sq to be indexed correctly 2025-05-29 23:06:01 +02:00
Dario Nieuwenhuis
645883d874
Merge pull request #4223 from embedded-rust-iml/feature/drop-impl-for-stm32-fdcan
Cleanup Pins and RCC for FDCAN on STM32
2025-05-27 17:44:11 +00:00
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
Kevin P. Fleming
a860fea0a5 stm32: Assert in BufferedUart that the buffers are not empty. 2025-05-25 08:51:27 -04: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
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
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
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
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
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
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
Jakob
b17da5b794
Merge branch 'embassy-rs:main' into update_doc_comment_for_adc_read 2025-05-14 18:57:49 +02:00
Jakob
a71642ca01 Fix compile error in adc_read doc comment code 2025-05-14 18:57:00 +02:00
jake-taf
be20c708fa
Interrupt Doc Comments
Support adding doc comments to interrupts
2025-05-14 09:45:20 -04:00
Dario Nieuwenhuis
5caa4ac51b
Merge pull request #4124 from mickem/allow_stm32_to_re_init_rcc
Add function to allow re-init rcc config for stm32
2025-05-13 20:57:33 +00:00
Ulf Lilleengen
2a27aa828c
Merge pull request #4173 from phycrax/derive-for-pwmpincfg
[embassy-stm32] Derive Debug, Clone, Copy, defmt::Format for simple_pwm::PwmPinConfig
2025-05-09 16:48:41 +02:00
Dion Dokter
65bd86f19f Stm32: Fix opamp copy pasta mistake 2025-05-08 13:40:21 +02:00
Süha Ünüvar
bd3b3b4526 derive debug copy clone defmt for pwmpinconfig 2025-05-07 17:14:28 +08:00
Dion Dokter
8017d58eb9 Merge branch 'main' into configurable-bank-support 2025-05-06 13:17:00 +02:00
Hiroaki Yutani
5105442f1f Fix clippy::bad_bit_mask 2025-05-06 09:44:00 +09:00
Dion Dokter
e478bdf1df Remove all notion of 'default' and 'alt' flash layouts. Now there's just the one layout. 2025-05-01 14:28:06 +02:00
Dion Dokter
59d839a2b8 Fix dual bank support for F7 2025-05-01 13:37:12 +02:00
Dion Dokter
a83726b77e Fix the f4 flash tests by throwing away alt mode 2025-05-01 11:15:14 +02:00
diondokter
f713f170a1 Merge branch 'main' into configurable-bank-support 2025-05-01 09:44:39 +02:00
Dario Nieuwenhuis
0591d60a79 stm32/otg: calculate TRDT using AHB freq instead of kernel freq. 2025-04-30 18:11:20 +02:00
Dion Dokter
34a4dddfe7 Add L4+ support 2025-04-29 17:05:07 +02:00
Dion Dokter
a1081f29bf Add f7 support 2025-04-29 16:59:04 +02:00
Dion Dokter
5691c61ef9 Add F4 support 2025-04-29 16:55:11 +02:00
Dion Dokter
1c22087188 Add support for L5 2025-04-29 16:37:27 +02:00
Dion Dokter
b967aaf7cc Add support for g0 2025-04-29 16:34:12 +02:00
Michael Medin
a94cc79b9b removed unused import 2025-04-28 18:52:03 +02:00
Michael Medin
1d578f5a7e function needs to be pub(crate) 2025-04-28 09:21:21 +02:00
Michael Medin
74cb84eb4e Moved functions to rcc module (this is a bit awkward as we now have two init functions in rcc: rcc::initand rcc::init_rcc) 2025-04-28 09:14:56 +02:00
Dario Nieuwenhuis
1d2f0add77
Merge pull request #4137 from cschuhen/stm32-can-data-len
Stm32 can data len
2025-04-27 22:58:53 +00:00
Corey Schuhen
eaec6c8165 Make raw_data public. 2025-04-27 17:37:56 +10:00
Thomas Giesel
8b123b4e0d Fix set_ovsr typo, ramp up to latest stm32-data-generated
This is an adaption to https://github.com/embassy-rs/stm32-data/pull/597
2025-04-26 19:10:59 +02:00