José Roberto de Souza 09f70c462d stm32: Make up_progmem thread safe
Writing to a flash sector while starting the erase of other sector
have a undefined behavior so lets add a semaphore and syncronize
access to Flash registers.

But for the semaphore to work it needs to be initialized so each
board needs call stm32_flash_initialize() on initialization, so
to avoid runtime problems it is only using semaphore and making
it thread safe if initialized, after all boards starts to call
stm32_flash_initialize() we can remove the boolean and the check.
2017-03-22 13:14:15 -07:00
..
2017-03-22 13:14:15 -07:00
2017-02-26 12:39:44 +01:00
2017-03-19 18:36:44 +01:00
2017-03-18 16:34:24 +01:00
2017-03-04 19:40:14 +01:00
2017-02-26 09:15:57 -06:00
2017-02-26 09:15:57 -06:00
2017-02-26 09:15:57 -06:00
2017-03-20 09:50:27 +08:00
2017-03-04 19:30:08 +01:00
2015-09-10 21:07:03 -04:00
2017-02-27 06:25:31 -06:00
2017-03-12 12:33:44 -06:00
2017-03-12 12:33:44 -06:00
2016-06-16 15:26:19 -06:00
2017-02-26 09:15:57 -06:00
2017-03-01 08:49:14 -06:00
2017-03-01 08:49:14 -06:00
2017-03-19 18:36:44 +01:00
2017-02-26 09:15:57 -06:00