3260 Commits

Author SHA1 Message Date
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
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
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
Iris Artin
440b94aecf
Added STM32 ADCv1 analog watchdog implementation 2025-06-26 21:07:12 -04:00
melvdl
2727fb266f run cargo fmt 2025-06-27 01:28:47 +02:00
melvdl
6f88c2c73c stm32: rename timer channel trait; replace impls via macro with impls generic over timer channels 2025-06-27 01:08:28 +02:00
melvdl
cbd24bf2ee stm32: fix timer break input 2 trait name in build script 2025-06-27 01:04:47 +02:00
melvdl
1623d4e639 stm32: generify timer::one_pulse and timer::qei pin constructors 2025-06-26 22:55:12 +02:00
melvdl
3e78f8a108 stm32: generify timer channels 2025-06-26 19:35:19 +02:00
Gerzain Mata
51675e9bc7 Added STM32WBA6XXX devices as features
Added 2 wba6 features to cargo batch in ci.sh

WIP

Added default RTC rust version for undefined peripherals

Added missing generated RTC peripheral to be handled by rtc/v3.rs

Reordered cfg_attrs in rtc/mod.rs
2025-06-26 04:38:22 -07:00
Thomas Giesel
ef4faffcb5
Merge branch 'main' into generate_all_opamp_pins 2025-06-25 21:10:25 +02:00