3096 Commits

Author SHA1 Message Date
Dion Dokter
73f11d238a Updated metapac tag 2025-05-06 13:15:26 +02:00
Dion Dokter
e478bdf1df Remove all notion of 'default' and 'alt' flash layouts. Now there's just the one layout. 2025-05-01 14:28:06 +02:00
Dion Dokter
59d839a2b8 Fix dual bank support for F7 2025-05-01 13:37:12 +02:00
Dion Dokter
a83726b77e Fix the f4 flash tests by throwing away alt mode 2025-05-01 11:15:14 +02:00
Dion Dokter
ace20f40ad Maybe fixed all CI 2025-05-01 10:35:10 +02:00
diondokter
f713f170a1 Merge branch 'main' into configurable-bank-support 2025-05-01 09:44:39 +02:00
Dario Nieuwenhuis
0591d60a79 stm32/otg: calculate TRDT using AHB freq instead of kernel freq. 2025-04-30 18:11:20 +02:00
Dion Dokter
ae59d0acf4 Use generated metapac instead of local one 2025-04-29 17:13:43 +02:00
Dion Dokter
c84d8e3632 Update changelog 2025-04-29 17:07:02 +02:00
Dion Dokter
34a4dddfe7 Add L4+ support 2025-04-29 17:05:07 +02:00
Dion Dokter
a1081f29bf Add f7 support 2025-04-29 16:59:04 +02:00
Dion Dokter
5691c61ef9 Add F4 support 2025-04-29 16:55:11 +02:00
Dion Dokter
1c22087188 Add support for L5 2025-04-29 16:37:27 +02:00
Dion Dokter
b967aaf7cc Add support for g0 2025-04-29 16:34:12 +02:00
Dario Nieuwenhuis
1d2f0add77
Merge pull request #4137 from cschuhen/stm32-can-data-len
Stm32 can data len
2025-04-27 22:58:53 +00:00
Corey Schuhen
eaec6c8165 Make raw_data public. 2025-04-27 17:37:56 +10:00
Thomas Giesel
8b123b4e0d Fix set_ovsr typo, ramp up to latest stm32-data-generated
This is an adaption to https://github.com/embassy-rs/stm32-data/pull/597
2025-04-26 19:10:59 +02:00
Dario Nieuwenhuis
572e788b2e
Merge pull request #4132 from GreatKet/main
Dead-time computation in complementary PWM fixed
2025-04-25 12:51:45 +00:00
Ekaterina Savelyeva
edc585a8ef Test for dead-time computation corrected 2025-04-25 13:36:38 +04:00
Ekaterina Savelyeva
d1555f4d5f Dead-time computation in complementary PWM fixed (missing DTG msbs added) 2025-04-25 13:05:48 +04:00
Dion Dokter
f5ab597a07 Logging: Make some things less chatty 2025-04-25 10:53:17 +02:00
Dario Nieuwenhuis
18eea73d19 stm32/adc: add h7rs support. 2025-04-25 00:12:02 +02:00
Thomas Giesel
b32ff0c8f7 Update opamp code to current stm32-metapac
Some trivial enums have been removed from the OpAmp API in stm32-metapac,
this commit updates the HAL accordingly.
2025-04-24 22:15:41 +02:00
Dion Dokter
a41c83d182 Add to changelog 2025-04-24 11:56:17 +02:00
Dion Dokter
19351c374a Check the bank setup when required 2025-04-24 11:40:15 +02:00
Dion Dokter
7259f20fe2 Add configurable bank support in build script 2025-04-24 11:23:11 +02:00
Sebastian Gabrielli
d8631f96d9 Disable SPI before changing config, then re-enable SPI on STM32
Fixes #2259
2025-04-22 12:47:33 +02:00
Dario Nieuwenhuis
7512c5f14e stm32: update metapac, cleanup clocks a bit. 2025-04-18 20:32:15 +02:00
Anton Lazarev
11241c579a
derive Clone for hash::Context
The HASH accelerator can be used for HMAC if a key is provided. One
significant use case of HMAC is as a PRF for the PBKDF2 algorithm, but
this requires that the hashing state can be recursively "branched"
multiple times.
2025-04-18 11:15:24 -07:00
Adam Greig
17d3adac4b
STM32: Fix CAN transmit on bxcan targets 2025-04-18 17:19:21 +01:00
Dario Nieuwenhuis
ca40dc7ff7
Merge pull request #3843 from ost-ing/sdmmc-multiblocks
STM32 SDMMC multiple block read/write support
2025-04-18 16:09:48 +00:00
Adam Greig
dc3b83f9c8
STM32: Change CAN data() to return slice with correct length 2025-04-18 14:42:16 +01:00
Adam Greig
97172c36b7
STM32: Fix G4 build without defmt feature 2025-04-18 14:41:56 +01:00
Oliver
eb83d049c7 stm32/sdmmc: add support for multiple block reads and writes. 2025-04-18 14:21:29 +02:00
Dario Nieuwenhuis
3ffee5e22b
Merge pull request #3965 from toon23/stm32_usart-pin_config
Stm32 usart: implement pin config for cts, tx, rts and de
2025-04-18 11:10:00 +00:00
Dario Nieuwenhuis
667400111a
Merge pull request #4089 from IvanLi-CN/g4-opamp
feat(embassy-stm32/opamp): Add some STM32G4 opamp usage
2025-04-18 11:09:00 +00:00
Josep Angel Oltra
69d2ce4eab Added USB core_id 0x1000 for STM32 2025-04-17 22:57:13 +02:00
Anton Pöhl
94c208b52a Stm32 usart: better names for open drain pin modes 2025-04-16 20:42:51 +02:00
ckrenslehner
af755a57ad fix: stm32wb55 low power feature did not compile 2025-04-15 18:01:46 +02:00
Andreas Galauner
d9f708ca6d Implement MII for STM32 V1 ethernet peripheral 2025-04-15 04:14:44 +02:00
Dario Nieuwenhuis
dd787c3727
Merge pull request #4090 from diondokter/g4-adc5
Add the ADC5 to the DMA codegen for the STM32g4x3 and g4x4
2025-04-14 15:52:15 +00:00
Dion Dokter
04dd1d9e77 Add the ADC5 to the DMA codegen for the STM32g4x3 and g4x4 2025-04-14 14:57:28 +02:00
Ivan Li
bbfebf968e feat(embassy-stm32/opamp): Add some stm32g4 opamp usage
Signed-off-by: Ivan Li <ivanli2048@gmail.com>
2025-04-14 20:42:46 +08:00
Anton Pöhl
de06406899 Stm32 usart: Remove meaningless pin configurations 2025-04-12 20:56:00 +02:00
Anton Pöhl
eb73cc7cfe Format 2025-04-11 20:58:03 +02:00
Anton Pöhl
a544726be4 Stm32 usart: remove HalfDuplexConfig
The pin parameters of usart::Config are used instead.
2025-04-11 20:58:03 +02:00
Anton Pöhl
e3cec4a246 Stm32 usart: make pin modes of cts, tx, rts and de configurable 2025-04-11 20:58:03 +02:00
RichardWGNR
aae3f7fb70 Fix rustfmt #4075 2025-04-11 04:31:32 +05:00
RichardWGNR
4d903a713e Capability to modify CAN frame data without copying. #4075 2025-04-11 04:27:03 +05:00
RichardWGNR
8fb0186f87 Fix #4062 2025-04-11 00:36:00 +05:00