3480 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
0e82b7dbd8 stm32: fix build for stm32c09x 2025-07-29 00:52:15 +02:00
Ulf Lilleengen
19e026717d Merge pull request #4476 from rursprung/impl-Debug-for-Delay
`embassy-time`: add missing `Debug` & `defmt::Format` derives
2025-07-29 00:36:22 +02:00
Gerzain Mata
9a1f1cc02c Separated USB_OTG_HS to STM32WBA6 2025-07-27 17:08:29 -07:00
Gerzain Mata
81bef219e3 Working USB_OTG_HS example for STM32WBA 2025-07-27 16:44:43 -07:00
Gerzain Mata
1d3c48cf45 Working USB_OTG_HS example 2025-07-27 14:02:47 -07:00
Gerzain Mata
0545353ec1 Merge branch 'main' into feat/stm32wba-usb-example 2025-07-27 10:14:03 -07:00
Dario Nieuwenhuis
945529282a
Merge pull request #4279 from benjaminschlegel87/stm32_adc_v3_hw_oversampling_support
Added Option to enable HW Oversampling in STM32 V3 ADCs
2025-07-26 11:01:18 +00:00
Gerzain Mata
75c1039aa1 Moved from HSE to HSI to generate USB_OTG_HS_CLK 2025-07-25 14:26:12 -07:00
Rick Rogers
a5a9c02543
include proper pll divs/divt initialization 2025-07-25 15:03:37 -04:00
emkanea-dev
777e0c71c9 fixed build after rebase 2025-07-25 20:53:04 +02:00
benjaminschlegel87
dbc1818acd
Merge branch 'embassy-rs:main' into stm32_adc_v3_hw_oversampling_support 2025-07-25 20:39:40 +02:00
Rick Rogers
3a30458b25
address rustfmt ci check 2025-07-25 12:10:17 -04:00
Rick Rogers
33fc82a455
Merge branch 'main' into h7rs-xspi-fixes 2025-07-25 11:34:21 -04:00
Gerzain Mata
ba5156b6cb Merge branch 'main' into feat/stm32wba-usb-example 2025-07-24 21:33:01 -07:00
Gerzain Mata
a8d215ff14 Partially working USB example 2025-07-24 16:28:59 -07:00
Dario Nieuwenhuis
9381c35e9d
Merge pull request #4454 from embassy-rs/stm32-i2c-slave-v2
fix: stm32 i2c slave blocking r/w
2025-07-24 22:22:06 +00:00
Dario Nieuwenhuis
bb68f55931
Merge pull request #4183 from IvanLi-CN/feat/stm32-dac-new-unbuffered
feat(stm32): Add DAC::new_unbuffered method.
2025-07-24 22:05:01 +00:00
Knaifhogg
9863406346 fix: stm32 i2c slave blocking r/w
This fixes an issue where the slave interface would time out when the
master goes from a short write to a read (e.g. when accessing memory
registers) with a START signal between. The previous implementation
would expect the full buffer length to be written before starting to
listen to new commands.

This also adds debug trace printing which helped during implemention and
testing.

Places error checking into a function inspired from a C implementation
of HAL.
2025-07-24 23:56:49 +02:00
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