3462 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
7d657ac16b
Merge pull request #4302 from Jacke-debug/get_max_duty_off_by_one
Get max duty off by one for Center-aligned mode
2025-07-24 21:53:10 +00:00
Dario Nieuwenhuis
1baf918319
Merge pull request #4303 from Jacke-debug/autoreload_preload
Enable autoreload_preload for Complementary PWM
2025-07-24 21:52:55 +00:00
Dario Nieuwenhuis
4e9d38fef0
Merge pull request #4305 from annie444/main
Add helper methods for the low-power interrupt timer.
2025-07-24 21:52:36 +00:00
Dario Nieuwenhuis
ff29d61b31
Merge pull request #4313 from snakehand/main
U5: Enable MSI auto calibration and compute frequencies
2025-07-24 21:23:02 +00:00
Frank Stevenson
0d1e34d0fc Minor cleanup 2025-07-24 21:17:30 +02:00
Rick Rogers
e4cb80be7c
add pll divs/t for h7rs 2025-07-24 15:12:12 -04:00
Frank Stevenson
aa243e4d3e Improved error checks, and some cleanup 2025-07-24 18:08:29 +02:00
Frank Stevenson
3394f3ab9d Panic on improper auto-calibration configurations 2025-07-24 13:51:35 +02:00
Frank Stevenson
fd3cdfcf25 Introduce configration options for Pll fast modes.
Ensure that the auto calibration is applied to an active clock.
2025-07-24 13:26:10 +02:00
Gerzain Mata
c5565ccc28 Working USB. Still no enumeration 2025-07-23 15:05:04 -07:00
Gerzain Mata
d7625de4f5 Merge branch 'main' into feat/stm32wba-usb-example 2025-07-23 09:48:59 -07:00
Dario Nieuwenhuis
db5a7bacef
Merge pull request #4427 from clubby789/unsafe-op
HAL: Use `unsafe` block in IRQ handler
2025-07-23 14:40:19 +00:00
clubby789
af4a75e493 stm32/build: Remove extra braces from generated code 2025-07-23 15:33:27 +01:00
Gerzain Mata
378035aa91 Added PLL HAL code for STM32WBA 2025-07-23 04:54:42 -07:00
Frank Stevenson
cf9856255e Make MSI calibration configurabke.
Refine detection and handling of shared clock sources between MSIS and MSIK
2025-07-23 10:08:41 +02:00
Gerzain Mata
e2cec28805 Merge branch 'main' into feat/stm32wba-usb-example 2025-07-23 00:53:10 -07:00
Chris Storah
420cbb437f Fix formatting of u5 file 2025-07-23 15:55:14 +10:00
Chris Storah
487b42f62c Added missing guard for hsi48. Updated use of removed enums from stm32-data u5 chip 2025-07-23 15:52:36 +10:00
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