2846 Commits

Author SHA1 Message Date
Dániel Buga
9a238e6ad8
Prepare new embassy-time-*driver, embassy-executor, embassy-time 2024-12-22 20:27:15 +01:00
elagil
c08411f32f fix: docstrings 2024-12-22 15:07:58 +01:00
elagil
c9cd46bdf5 fix: h5-only rx filter 2024-12-22 15:07:58 +01:00
elagil
b35b45e151 feat: stm32h5 UCPD example 2024-12-22 15:07:58 +01:00
Anatol Ulrich
7743c8fb9a more cfg gating 2024-12-19 19:16:38 +01:00
Anatol Ulrich
d91b8c6394 consistently cfg-gate set_speed 2024-12-19 18:52:27 +01:00
Anatol Ulrich
26fe834c09 fix imports 2024-12-19 18:48:07 +01:00
Anatol Ulrich
8d98844312 embassy-stm32: make SPI slew rate/speed configurable and change default to Medium 2024-12-19 18:35:42 +01:00
Piotr Esden-Tempski
b2e8268470 stm32/(o|q)spi: command naming convention fix
The naming convention is to prefix blocking functions with blocking. As
both command implementations are blocking the async for the ospi
implementation should also be dropped.
2024-12-17 14:45:52 -08:00
Dario Nieuwenhuis
2c3bc75da6
Merge pull request #3593 from bugadani/refactor
Rework time-driver contract.
2024-12-16 12:30:30 +00:00
Dario Nieuwenhuis
2f2e2c6031
Make integrated-timers the default, remove Cargo feature. 2024-12-15 18:49:57 +01:00
Fabian Wolter
4b31639dca STM32F0 fix using HSI48 as SYSCLK on devices with CRS
Fixes #3651
2024-12-14 23:32:08 +01:00
Dario Nieuwenhuis
b268b1795f
Merge time-driver and time-queue-driver traits, make HALs own and handle the queue. 2024-12-13 21:20:59 +01:00
Dario Nieuwenhuis
45d9bd5757
Merge pull request #3636 from G-Levine/stm32g4-missing-opamp-output-fix
Add missing opamp external outputs for STM32G4
2024-12-13 11:26:29 +00:00
Dániel Buga
5a5495aac4
Refactor integrated-timers 2024-12-10 21:31:42 +01:00
Gabrael Levine
cfe6bc1724
Add missing opamp external outputs for STM32G4 2024-12-10 11:06:28 -08:00
Marvin Drees
a0e056a629
Update STM32U5 OTG HS clock handling
Signed-off-by: Marvin Drees <marvin.drees@9elements.com>
2024-12-10 13:10:06 +01:00
Dave Marples
501d3942e8
Add support for stm32u595/5a5 OTG_HS in client mode 2024-12-10 10:51:28 +01:00
David Lawrence
0bec981882 STM32: bump to latest stm32-metapac
HRTIM driver is updated per https://github.com/embassy-rs/stm32-data/pull/544
2024-12-06 21:58:18 -05:00
Dániel Buga
306099f9d5
Prepare embassy-usb-synopsys-otg 0.2.0 2024-12-06 13:23:06 +01:00
Dario Nieuwenhuis
4acc0f84b0
Merge pull request #3274 from michelrandahl/discriminating-pins-within-tsc-group
STM32-TSC: enable discriminating between pins within same TSC group and improve TSC library in general
2024-12-03 01:11:33 +01:00
Enmanuel Parache
8d2fbf0e14 Extend set_baudrate implementation to Buffered and RingBuffered structs 2024-12-03 00:34:23 +01:00
Enmanuel Parache
32a1b232cb Fixed build error 2024-12-03 00:34:23 +01:00
Enmanuel Parache
63298e2f7c Reduced code duplication 2024-12-03 00:34:23 +01:00
Enmanuel Parache
def2601558 rustfmt 2024-12-03 00:34:23 +01:00
Enmanuel Parache
6494429a20 stm32/usart: Changing baud rate 2024-12-03 00:34:23 +01:00
Dario Nieuwenhuis
db9ad1c30c
Merge pull request #3549 from aurelj/stm32_pwm_32bits_timer
stm32/timer: avoid max_compare_value >= u16::MAX
2024-12-02 22:50:09 +00:00
Dario Nieuwenhuis
bc5e0d60b3
Merge pull request #3566 from IvanLi-CN/feat/adc-read-async-stm32g4
STM32: Implement Asynchronous ADC Reading for G4
2024-12-02 23:38:06 +01:00
Dario Nieuwenhuis
8086fc4dff
Merge pull request #3588 from elagil/fix_sai_write_immediate
Right-align `write_immediate()` in ring buffers
2024-12-02 22:05:44 +00:00
decaday
18020d672d fix: error message for multiple time-driver-xxx cargo features 2024-12-02 16:51:50 +08:00
Dario Nieuwenhuis
c73a4d397d
Merge pull request #3595 from Sizurka/stm32-usart-databits
stm32/usart: Implement data bit selection
2024-12-01 21:39:27 +00:00
Derek Hageman
7d15ec921a stm32/usart: Implement data bit selection
Implement data bit size selection and add 7-bit mode.
2024-12-01 11:00:08 -07:00
Dániel Buga
efee03744e
Only recompute allocated alarms 2024-11-30 14:40:12 +01:00
Dániel Buga
fdb8ee2e8a
RTC: Trigger expired alarms 2024-11-30 14:40:12 +01:00
michel
31da5155e8 Refactor TSC module: Remove redundant 'Tsc' prefixes for improved naming consistency 2024-11-29 17:58:35 +01:00
michel
721c6820d4 STM32-TSC: enable discriminating between pins within same TSC group and improve TSC library in general 2024-11-29 17:58:33 +01:00
elagil
5d2b38c979 doc: improve comment 2024-11-28 17:45:00 +01:00
elagil
152d8ee0d9 fix: make write_immediate() for ring buffers right-aligned 2024-11-28 17:39:39 +01:00
Dario Nieuwenhuis
8954c053fb
Merge pull request #3583 from williams-one/add-flash-bank-selection-for-erase
STM32U5: Add flash bank selection when erasing a sector
2024-11-28 14:15:30 +00:00
eZio Pan
f3e674a79c stm32: remove redundant time-driver macro 2024-11-28 15:48:27 +08:00
William
b035ff1145 stm32u5: Add flash bank selection when erasing a sector 2024-11-27 17:29:08 +01:00
William
7a9c488996 stm32: Update STM32 data source 2024-11-27 16:52:26 +01:00
Dario Nieuwenhuis
0d5cd7d692
Merge pull request #3582 from itswenb/main
fix: Add missing clock check
2024-11-27 09:50:34 +00:00
Bing Wen
09c9f64b8e Add missing clock check 2024-11-27 17:44:03 +08:00
Ulf Lilleengen
8e25bc56f6
Merge pull request #3574 from itswenb/main
feat: Add new feature to enable overclocking
2024-11-27 07:38:00 +00:00
Bing Wen
b225d73dc5 Change compile condition 2024-11-27 14:00:45 +08:00
Bing Wen
d0340ad297 Fix & Revert 2024-11-27 12:33:32 +08:00
Bing Wen
52ab015fac Add new 2024-11-27 12:23:13 +08:00
Bing Wen
8eaa3c8fd3 Add new feature to enable overclocking 2024-11-26 12:46:20 +08:00
Dario Nieuwenhuis
37111a891c
Merge pull request #3556 from chrenderle/low-power
low-power: add support for stm32u0
2024-11-25 14:00:28 +00:00