Rasmus Melchior Jacobsen
73ccc04231
Change region type name
2023-03-25 13:47:28 +01:00
Rasmus Melchior Jacobsen
47d5f127bb
Align L family
2023-03-25 13:30:24 +01:00
Rasmus Melchior Jacobsen
47e07584ca
Align H7 family
2023-03-25 13:03:00 +01:00
Rasmus Melchior Jacobsen
a8567f0617
Align F7 family
2023-03-25 06:26:00 +01:00
Rasmus Melchior Jacobsen
7edd72f8f5
Align F3 family
2023-03-25 06:07:57 +01:00
Rasmus Melchior Jacobsen
6c73b23f38
Align F4 family
2023-03-25 05:59:40 +01:00
Rasmus Melchior Jacobsen
6b44027eab
Add FlashRegion trait and implement embedded_storage traits for each region
2023-03-25 05:58:40 +01:00
Dario Nieuwenhuis
43462947ed
stm32: remove unused embedded-storage-async.
2023-03-14 17:27:40 +01:00
Dario Nieuwenhuis
10c9cc31b1
Remove unnecessary use of atomic-polyfill.
...
Only use it when CAS is actually needed.
2022-12-23 20:46:49 +01:00
Matous Hybl
2a35a09444
stm32: Fix H7 unaligned erase
2022-11-28 21:15:24 +01:00
Matous Hybl
6c5d81ada5
Add memory barriers to H7 flash driver to mitigate PGSERR errors
...
The stm32h7xx-hal uses only the ordering barrier, while the CubeMX uses the DSB and ISB instructions, to be on the safe side, both are used here.
2022-10-18 22:42:02 +02:00
Mathias
a7fdeac560
Remove flash lock/unlock public API from stm32 flash, and perform the unlocking and locking automatically on erase and write operations
2022-09-30 06:00:46 +02:00
Dario Nieuwenhuis
4901c34d9c
Rename Unborrowed -> PeripheralRef, Unborrow -> Peripheral
2022-07-23 14:00:19 +02:00
Dario Nieuwenhuis
8a9d2f59af
Update embassy-stm32
2022-07-23 02:40:13 +02:00
chemicstry
f0027c9fe0
Require erase address to be aligned to page size
2022-07-14 21:21:46 +03:00
chemicstry
5a265661bb
Fix erasing across banks
2022-07-14 20:58:01 +03:00
chemicstry
039acda3a8
Fix writing to last sector of F4 flash
2022-07-14 19:41:39 +03:00
chemicstry
3271ba36e4
Fix cfg flags
2022-07-11 04:07:28 +03:00
chemicstry
734c38eb9c
Add F4 flash driver
2022-07-11 03:57:46 +03:00
Dario Nieuwenhuis
a8703b7598
Run rustfmt.
2022-06-12 22:22:31 +02:00
Dario Nieuwenhuis
5085100df2
Add embassy-cortex-m crate.
...
- Move Interrupt and InterruptExecutor from `embassy` to `embassy-cortex-m`.
- Move Unborrow from `embassy` to `embassy-hal-common` (nothing in `embassy` requires it anymore)
- Move PeripheralMutex from `embassy-hal-common` to `embassy-cortex-m`.
2022-06-12 21:45:38 +02:00
Ulf Lilleengen
7d64f5cda7
Use correct index and bank
2022-06-07 15:59:22 +02:00
Matous Hybl
118532278c
Add H7 flash and bootloader support
2022-05-06 21:57:15 +02:00
Matous Hybl
6d56f772e1
Add F7 flash and bootloader support
2022-05-06 21:57:15 +02:00
Matous Hybl
f3700b4e42
Refactor flash handling to different modules for different families
2022-05-06 21:57:15 +02:00
Matous Hybl
4f5088d79d
Add support for F3 flash
2022-05-06 21:57:15 +02:00
Ulf Lilleengen
da61611f8f
Add bootloader to CI
2022-04-27 15:17:18 +02:00
Ulf Lilleengen
484e0acc63
Add stm32 flash + bootloader support
...
* Add flash drivers for L0, L1, L4, WB and WL. Not tested for WB, but
should be similar to WL.
* Add embassy-boot-stm32 for bootloading on STM32.
* Add flash examples and bootloader examples
* Update stm32-data
2022-04-27 15:17:18 +02:00