3444 Commits

Author SHA1 Message Date
Chris Storah
88e1d61654 Merge branch 'obe1line-stm32c071' of github.com:obe1line/embassy into obe1line-stm32c071 2025-07-23 12:53:34 +10:00
Chris Storah
bb29fdd3e2 Formatting update to resolve rustfmt error 2025-07-23 12:50:01 +10:00
obe1line
eb15a55519
Merge branch 'embassy-rs:main' into obe1line-stm32c071 2025-07-23 12:40:48 +10:00
Chris Storah
e64c23076d Updated version of stm32-data and added c071 and c051 into ci.sh 2025-07-23 12:38:58 +10:00
dimi
03b86d75b6 derive Copy, Clone for adc config enums 2025-07-22 18:20:24 +02:00
Haobo Gu
f96f68077b chore: bump embassy-usb-synopsys-otg version
Signed-off-by: Haobo Gu <haobogu@outlook.com>
2025-07-22 10:36:29 +08:00
clubby789
79fbf214cc Enable oversampling for ADC v3 2025-07-21 13:49:45 +01:00
Gerzain Mata
a80eb48e67 WIP changes 2025-07-21 04:46:29 -07:00
Dario Nieuwenhuis
de4537d000 stm32: Fix build for WBA lowpower. 2025-07-21 13:20:35 +02:00
Gerzain Mata
726991f2e9 Working example in usb_hs_serial.rs 2025-07-21 03:07:41 -07:00
obe1line
26232778e6
hsi48 field missing for STM32C071 2025-07-21 14:39:07 +10:00
obe1line
ac996e7e0a
Added ccipr1 conditional for STM32C071 2025-07-21 14:31:48 +10:00
obe1line
6bfdbf0ed8
Added stm32fc071 to cfg to force RCC.cr to be used 2025-07-21 14:27:05 +10:00
obe1line
87f469792a
Added rcc_c0v2 to fix undefined McoSource with STM32C071 2025-07-21 13:37:48 +10:00
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