3480 Commits

Author SHA1 Message Date
obe1line
876ad00112
Update Cargo.toml
Added STMC071 and other missing C0 chips
2025-07-21 12:52:23 +10:00
Dario Nieuwenhuis
aedf78cf29
Merge pull request #4418 from leftger/fix/rtc-stm32wba
Added RTC low-power support for STM32WBA
2025-07-21 00:54:46 +02:00
Dario Nieuwenhuis
a7c0985818
Merge pull request #4424 from leftger/fix/stm32wba-vddio
embassy-stm32: account for WBA devices and VDDIO2
2025-07-21 00:54:25 +02:00
clubby789
e1407f80c0 Control RFWKPSEL with ClockMux 2025-07-20 22:05:28 +01:00
clubby789
2be8be0747 Use unsafe block in IRQ handlers 2025-07-20 20:25:26 +01:00
Gerzain Mata
8c696a579f embassy-stm32: account for WBA devices and VDDIO2
- Different power domain
- Same split domain as STM32U5
- Added low_power fixes for STM32WBA too
2025-07-19 22:15:47 -07:00
Gerzain Mata
d9cd93ca22 Added RTC low-power support for STM32WBA65
Also added low-power feature for STM32WBA65RI build
2025-07-18 14:25:15 -07:00
Fabian Wolter
a3c367d54e Update stm32-data-generated dependency 2025-07-17 21:18:23 +02:00
Fabian Wolter
5ef796ded0 Refactor 2025-07-17 21:17:27 +02:00
Fabian Wolter
d9f0d80f73 Make remap value a number 2025-07-17 21:17:27 +02:00
Fabian Wolter
c279063c42 STM32F0/F3 Remap DMA channels
Fixes #3643
2025-07-17 21:17:27 +02:00
Fabian Wolter
233bd18fae STM32F107: Fix inadvertent re-configuration of the SWJ/JTAG pins when activating the (R)MII interface 2025-07-17 18:00:27 +02:00
Wouter Geraedts
17fbfc6ffc Removed reference to ADC3 for STM32G4x1 if the peripheral does not exist and added stm32g431kb to CI for testing 2025-07-17 13:55:09 +02:00
Gerzain Mata
f46bfd4c6f Cargo fmt recent changes 2025-07-16 17:47:48 -07:00
Gerzain Mata
d3308f7e5a Fixed register names from recent stm32-data changes 2025-07-16 17:32:34 -07:00
Gerzain Mata
6d0927b174 Merge branch 'main' into feat/adc4-stm32wba 2025-07-16 17:14:12 -07:00
Dario Nieuwenhuis
c78dfa7e31 stm32: fix stm32g0b0 build.
It has USB but not HSI48 which would break things. Only g0x1 has HSI48.
2025-07-16 22:08:50 +02:00
Dario Nieuwenhuis
6fb85826e8
Merge pull request #4357 from purepani/push-kytkkzsvpwrz
Adds ADC4 for STM32WBA series
2025-07-16 18:21:46 +00:00
chemicstry
62b9b03325 Fix stm32 buffered half-duplex uart receive 2025-07-16 20:48:44 +03:00
Ulf Lilleengen
6f2f469c56 chore: Release embassy-usb-driver version 0.2.0 2025-07-16 15:43:05 +02:00
Ulf Lilleengen
386c586afa chore: Release embassy-embedded-hal version 0.3.1 2025-07-16 14:53:02 +02:00
nikvoid
71ad563579 stm32: add waveform_up function for complementary PWM too 2025-07-16 12:35:50 +03:00
Dario Nieuwenhuis
f525386fca
Merge pull request #4397 from korbin/allocate-numbered-endpoints
Make USB endpoint allocator methods accept an optional `EndpointAddress`
2025-07-15 22:08:08 +00:00
Ulf Lilleengen
f32e8f6025 release: embassy-usb-driver 0.1.1 2025-07-15 21:41:41 +02:00
Gerzain Mata
ed64d99a51 WIP for USB_OTG support on STM32WBA devices 2025-07-14 16:49:50 -07:00
Gerzain Mata
6e95da965d Merge branch 'main' into feat/adc4-stm32wba 2025-07-14 13:55:49 -07:00
Ulf Lilleengen
64e1a806fa chore: update to embassy-hal-internal v0.3.0 2025-07-14 11:46:47 +02:00
korbin
93e2fdf512
consolidate endpoint validation logic in stm32 2025-07-13 22:44:48 -06:00
korbin
b666a88ab1
make usb endpoint allocator methods accept an optional EndpointAddress 2025-07-13 20:40:54 -06:00
Dion Dokter
423870d1f7 Introduce traits for special channels 2025-07-10 15:57:45 +02:00
dimi
9589c056d1 fix typo 2025-07-09 20:00:49 +02:00
Gerzain Mata
37ea72e013 Merge remote-tracking branch 'purepani/push-kytkkzsvpwrz' 2025-07-08 17:37:03 -07:00
Dario Nieuwenhuis
d7d0828d5c
Merge pull request #4370 from cmilatinov/feature/stm32-sample-shifting
embassy-stm32: Added sample shifting to qspi config
2025-07-06 20:37:46 +00:00
Dario Nieuwenhuis
78af9ae8af
Merge pull request #4358 from skoe/opamp_rcc
Use proper RCC clock enable for opamps
2025-07-06 18:49:17 +00:00
Thomas Giesel
bfbecdf93a Use proper RCC clock enable for opamps
new() now resets the opamp and enables its clock. The clock is
disabled when the opamp is dropped. On families that use
SYSCFGEN (F3 and G4), this is not done because this
clock is always on in Embassy.

This change makes use of the RCC driver, which uses a reference
counter to prevent conflicts. The opamp itself is still disabled
when its output is dropped.
2025-07-05 22:47:24 +02:00
Cristian Milatinov
1f87e47831 Run cargo fmt 2025-07-05 01:15:15 -04:00
Cristian Milatinov
fb21fcf4f1 Added sample shifting to qspi config for stm32 2025-07-05 00:47:30 -04:00
Dario Nieuwenhuis
c8a4a49958 stm32/sdmmc: misc improvements 2025-07-04 00:25:00 +02:00
Dario Nieuwenhuis
3127e1c50b sdmmc: use div_ceil. 2025-07-04 00:23:22 +02:00
Dario Nieuwenhuis
84cc949df6 stm32/dma: fix packing/unpacking not working. 2025-07-04 00:23:22 +02:00
Dario Nieuwenhuis
00b2567fbf stm32/dma: add missing fence on BDMA start. 2025-07-04 00:23:22 +02:00
Dario Nieuwenhuis
72248a601a Update Rust nightly, stable. 2025-07-04 00:23:22 +02:00
Dario Nieuwenhuis
4af2d9adc4
Merge pull request #4365 from qwerty19106/stm32_impl_nb_write
stm32: Fix impl embedded_hal_nb::serial::Write for usart::UartTx
2025-07-03 14:24:43 +00:00
qwerty19106
e256f1360b Fix impl embedded_hal_nb::serial::Write for embassy_stm32::usart::UartTx 2025-07-03 18:17:01 +04:00
Ulf Lilleengen
4727c07a08
Merge pull request #4330 from innermatrix/stm32-adc-v1-watchdog
Added STM32 ADCv1 analog watchdog implementation
2025-07-03 14:10:31 +00:00
Christoph Baechler
02829f5e4b embassy-stm32: fix temperature channel for L0 series 2025-07-01 12:56:25 +02:00
purepani
08f3b45de6
Adds ADC4 for WBA 2025-06-30 15:37:22 -05:00
purepani
15c7526c0a
Updates stm32-metapac 2025-06-30 10:00:26 -05:00
Süha Ünüvar
5cbc9a235f correct documentation 2025-06-27 09:23:53 +08:00
Süha Ünüvar
04bf17dde6 rename fns and add documentation 2025-06-27 09:23:53 +08:00