Dion Dokter
a83726b77e
Fix the f4 flash tests by throwing away alt mode
2025-05-01 11:15:14 +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
Dion Dokter
19351c374a
Check the bank setup when required
2025-04-24 11:40:15 +02:00
Dario Nieuwenhuis
d41eeeae79
Remove Peripheral trait, rename PeripheralRef->Peri.
2025-03-27 15:18:06 +01:00
Rasmus Melchior Jacobsen
97ed7f085a
feat(stm32): Add OTP flash region (again)
2025-03-20 01:58:44 +01:00
Matt Rodgers
844d3b38de
stm32: flash: fix flash erase on stm32f3xx series
...
STM32F3xx series also needs a wait of at least one clock cycle before
reading the BSY bit during a flash erase - previously this was only
applied to STM32F1xx series.
2025-01-08 10:11:25 +00:00
Dario Nieuwenhuis
7f05c1e439
Update stm32-metapac.
2025-01-06 15:40:05 +01:00
elagil
eba8089601
chore: fix build
2025-01-03 18:18:00 +01:00
chanterheld
d368760424
fix stmd g0/g4 formatting and bker bit access
2025-01-02 21:14:06 +01:00
chanterheld
c706e3797a
fix g0 wait_busy
2025-01-02 20:20:38 +01:00
chanterheld
f1ffbf2f7e
embassy-stm32. support g0 second flash bank
2025-01-02 20:05:01 +01:00
William
b035ff1145
stm32u5: Add flash bank selection when erasing a sector
2024-11-27 17:29:08 +01:00
Lucas Martins
1d395fc2b6
stm32/flash: add stm32f2, stm32h5 flash driver
2024-10-21 02:21:53 +02:00
Christian Enderle
9cf75d7eac
stm32/flash: add support for l5
2024-10-17 20:17:01 +02:00
Maxime Vincent
82f274ea09
stm32: add f2 flash support (blocking)
2024-09-02 12:25:42 +02:00
Samuel Tardieu
8680c86894
embassy-stm32: wait for BSY flag to clear before flashing
...
While not waiting for the BSY flag to clear works on STM32F103C8T6, it
does not on APM32F103C8T6. Only one half-word gets written while the
other one gets lost.
2024-07-27 15:07:04 +02:00
David Flemström
2f750a82bf
Swat some other occurrences of .unwrap() that pull in panicing infra
2024-06-28 22:52:21 +02:00
Jan Špaček
368893c9cb
Emit cargo:rustc-check-cfg instructions from build.rs
2024-05-30 18:28:29 +02:00
Dario Nieuwenhuis
5732ee7ca9
Reduce use of the full futures crate.
2024-04-26 23:22:25 +02:00
Dion Dokter
c8c7c718f3
Merge branch 'master' into u0-dion
2024-04-16 13:48:18 +02:00
Dario Nieuwenhuis
524c24c8b3
Merge pull request #2808 from MaxiluxSystems/feature/stm32h50-flash-swap-banks
...
stm32: flash: h50: implement bank swapping
2024-04-15 22:35:07 +00:00
Warren Campbell
c5119c6318
Add support for using secure registers
2024-04-15 18:02:29 -04:00
Warren Campbell
2fa0bb7d6e
Use non-secure registers for u5 flash
2024-04-15 14:59:31 -04:00
Torin Cooper-Bennun
f66b63017c
stm32: flash: h50: implement bank swapping
2024-04-15 11:37:40 +01:00
Dario Nieuwenhuis
1f3b690f76
stm32/flash: remove otp flash regions (removed in newer metapacs).
2024-04-14 22:06:41 +02:00
Dion Dokter
ca84be80bc
Add wdt and flash
2024-04-14 00:45:53 +02:00
Dario Nieuwenhuis
d9426549c3
stm32/flash: remove otp flash regions (removed in newer metapacs).
2024-04-13 03:33:16 +02:00
Dario Nieuwenhuis
eca9aac194
Fix warnings in recent nightly.
2024-03-20 16:39:09 +01:00
Torin Cooper-Bennun
67230dc444
flash: h50: first pass at implementation
2024-02-19 16:05:50 +00:00
Zach
dd9f0d9d9e
support u5 flash
2024-02-17 12:04:53 -06:00
Badr Bouslikhin
aab5da1d3b
fix(stm32h7/flash): enhance resilience to program sequence errors (pgserr)
2024-02-06 12:30:04 +01:00
Dario Nieuwenhuis
208ad8fbfc
stm32/flash: add support for f1.
2024-01-05 23:49:10 +01:00
Dario Nieuwenhuis
49534cd405
stm32: more docs.
2023-12-19 00:10:36 +01:00
Dario Nieuwenhuis
124478c5e9
stm32: more docs.
2023-12-18 19:11:23 +01:00
Dario Nieuwenhuis
80c9d04bbd
stm32: add some docs.
2023-12-18 00:53:18 +01:00
Adam Greig
f6bc96dfbd
STM32: Enable flash support for STM32G4
2023-12-16 03:50:34 +00:00
Dario Nieuwenhuis
c6989dfbca
Remove nightly and unstable-traits features in preparation for 1.75.
2023-11-29 17:26:33 +01:00
Rasmus Melchior Jacobsen
e8c162ac03
stm32: Remove unneeded unsafe
2023-10-24 07:44:04 +02:00
Andres Vahter
3616d68aaa
stm32 flash: check lock bit before unlocking
...
It hardfaults if already unlocked flash is unlocked again.
2023-10-10 12:55:43 +03:00
Dominik Sliwa
5bc0175be9
configure flash latency after axi clock and handle different flash in STM32H7A/B devices
2023-08-18 23:44:56 +02:00
Grant Miller
d49f40dd5c
embassy-stm32: Misc clippy fixes
2023-08-06 15:00:39 -05:00
Dario Nieuwenhuis
036e00113e
stm32/flash: avoid pointless "if flag is set, set it".
2023-07-31 12:48:52 +02:00
dev-guruprasath
42b21fd7ae
added flash support
2023-07-31 13:56:16 +05:30
Dario Nieuwenhuis
036e6ae30c
Rename embassy-hal-common to embassy-hal-internal, document it's for internal use only. ( #1700 )
2023-07-28 13:23:22 +02:00
Dario Nieuwenhuis
dff9bd9711
Remove trivial to remove uses of atomic-polyfill.
2023-07-12 18:30:43 +02:00
Dario Nieuwenhuis
558918651e
stm32: update stm32-metapac.
2023-06-19 03:22:12 +02:00