Karl Palsson
da76279bc6
stm32: flash: move to peripheral_apis
...
Change the groupings and headings to make them all consistent.
2019-05-21 23:41:21 +00:00
Karl Palsson
231f21296f
stm32: f247: flash: use common code.
...
This shows what is _actually_ different for f7. A couple of option
bits, and a renaming of bit 7 of the status register, from Program
Sequence Error to Erase Sequence Error.
We keep the separate implementation of wait_for_last_operation, to meet
the "suggestions" of the reference manual to insert a DSB instruction.
Keeping the renamed bit/functions also requires us to keep separate
implementations of the flag clearing functions
2018-07-29 20:31:17 +00:00
Karl Palsson
46d4103c1d
stm32: flash: move wait_for_last to f2/f4 explicitly.
...
We're preparing to use all the common code for f2, f4, f7 and large
chunks of l4. Extract things that we know need to be done differently
there.
2018-07-29 20:31:17 +00:00
Ken Sarkies
a54a12e1c9
Documentation added to flash modules for all STM32 families.
2014-01-15 22:09:36 +01:00
Fergus Noble
b039504494
Moving stm32 f2/f4 flash code into the common area.
2013-05-10 18:34:55 -07:00
Matthew Peddie
ea15d962ab
Remove redundant access size argument in F4 flash code.
2013-04-25 17:13:51 -07:00
Piotr Esden-Tempski
1a025b5379
Fix all warnings for stm32f4 lib.
2013-02-26 17:19:22 -08:00
Piotr Esden-Tempski
5e7ec39440
FLASH: Make sure that the flash unlock register state is cleared before trying to unlock the flash.
2013-02-26 15:25:55 -08:00
Karl Palsson
40d9d630f0
[flash] f4: use "proper" bit definition naming.
...
Part 4 of 4: updated f4 to use flash_<reg>_bit instead of just
flash_bit
2013-01-23 13:58:11 +00:00
Piotr Esden-Tempski
43561de329
License change of the library to LGPL, version 3 or later.
...
Agreed to by all the significant contributors to the library.
2012-03-02 14:44:49 -08:00
Mike Smith
5310cd1b57
Flash sector erase requires the FLASH_SER bit set.
2012-02-12 15:00:08 -08:00
Stephen Caudle
5a89d44591
Add initial support for STM32F4
2011-10-31 00:41:19 -04:00