reme
16e63dc108
STM32 FLASH API : add critical sections
...
See PR #13802 (for F4 board)
Concerned boards are
STM32F0
STM32F1
STM32F2
STM32F3
STM32F4
STM32F7
STM32G0
STM32G4
STM32H7
STM32L0
STM32L1
STM32L4
STM32L5
Adding test of return code of HAL_FLASH_Lock() function
Adding board STM32F4
Running AStyle
2020-11-20 08:03:24 +00:00
jeromecoutant
81f919b6c2
STM32L4 : license header alignment
2020-10-20 08:51:36 +02:00
Alexandre Bourdiol
9e3ad13d5e
TARGET_STM: fix flash api 64bit address alignment on L4 and WB
2019-12-11 18:32:42 +01:00
jeromecoutant
db7efabfd5
STM license file update
...
Some code have been copied from ST Cube deliveries.
ST copyright is then needed.
2019-09-10 14:24:48 +02:00
David Saada
542744d03c
Support erase value in Flash HAL drivers, FlashIAP and block devices
2018-11-07 14:23:07 +02:00
Juho Eskeli
f7a030ef7c
Remove redundant error flag clearing operation
2018-10-02 09:18:03 +03:00
Juho Eskeli
3a6b52fd15
Clear error programming flags before erase & program operations
2018-09-26 22:58:49 +03:00
jeromecoutant
78410e7032
TARGET_STM32L4 astyle
2018-06-27 14:46:00 +02:00
Laurent MEUNIER
f5aa7c7c82
STM32: Lock / Unlock flash for each operation
...
Rather than Unlocking flash during flash object creation, and leaving
the flash possibly continuously unlocked a(s object might bever be freed),
we decide to Unlock then Lock again at each erase or program call.
2017-09-05 17:49:07 +02:00
Laurent MEUNIER
e6631c02a4
STM32: adjust flash.get_page_size() to minimum programable size
...
Users of FlashIAP usually get the minimum programable size
by calling flash.get_page_size(), so let's return the minimum
to allows a most efficient usage of flash.
For F4 devices, this is 1 byte.
For L0 and L1 devices, this is a word (4 bytes).
For L4 devices, this is a double word (8 bytes).
2017-08-25 17:21:30 +02:00
Laurent MEUNIER
1c57df37d4
STM32 L4: Flash API typo
2017-06-06 18:10:38 -05:00
Laurent MEUNIER
a9d237012c
Removing duplicate defines
...
Those defines are already available in STM32 L4 SDK and don't need to
be (re)defined here.
2017-06-06 18:10:18 -05:00
Laurent MEUNIER
ec89ea8ac9
Fix L432KC compilation error
2017-06-06 18:09:53 -05:00
Laurent MEUNIER
b1ae8a9f9d
STM32L4 : add Flash API support
2017-06-06 18:09:12 -05:00