3345 Commits

Author SHA1 Message Date
Jakob
b6ee237fb1 Add enum for IdlePolarity to make interface clearer for set_output_idle_state method 2025-08-10 08:57:15 +02:00
Jakob
c46cae734f Change method arugments to be non-mutable 2025-08-10 08:57:15 +02:00
Jakob
0941a76be6 Add get methods for meo, ossi and ossr 2025-08-10 08:57:15 +02:00
Jakob
7dad187ff7 Add methods for setting ossi, ossr, osi and oisn along with software trigger for break input 2025-08-10 08:57:11 +02:00
Süha Ünüvar
cf41ad464c add forgotten import 2025-08-08 23:30:11 +08:00
Süha Ünüvar
d5bf29a303 stm32 i2c v2: rename freq to frequency 2025-08-08 23:14:08 +08:00
Süha Ünüvar
8b65101a7c rename rise_fall_speed to gpio_speed for spi 2025-08-08 23:09:39 +08:00
Süha Ünüvar
5e3221bcc4 i2c 2025-08-08 23:01:11 +08:00
Süha Ünüvar
f9da2888c4 i2s 2025-08-08 22:39:09 +08:00
Ulf Lilleengen
f2be66a5f9
Merge pull request #4481 from swobbee-dev/main
STM32 CAN: Add mutable access for ID in Header and Frame structs
2025-08-08 08:04:24 +00:00
Gerzain Mata
ccbdf9cbf1 Updated stm32-metapac for GPDMA1 fix on STM32WBA 2025-08-05 01:00:29 -07:00
Dario Nieuwenhuis
78a333d008 Release embassy-embedded-hal v0.4 2025-08-03 00:44:51 +02:00
Piotr Esden-Tempski
701e824175 ucpd: Add software trim setting of the CC Rp/Rd for stm32u5 parts. 2025-08-01 18:10:00 -07:00
Ulf Lilleengen
0eceb08b90 fix: do full minor version bump for time queue utils 2025-08-01 21:42:23 +02:00
Ulf Lilleengen
3f1ddaf60e chore: prepare embassy-executor 0.8 release 2025-07-31 10:33:14 +02:00
Malte Brieske
dbd10486b3 Add mutable accessors for ID in Header and Frame structs 2025-07-29 19:18:14 +02:00
Gerzain Mata
a19d5476dc Aligned STM32WBA with U5 flash HAL 2025-07-29 01:26:05 -07:00
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