5a62ec9798
Merge pull request #11790 from fjmolinas/pr_fix_wait_for_pending_isr
...
stm32_common/flash_common: fix _wait_for_pending_isr()
2019-07-04 11:28:50 +02:00
3f984a1128
Merge pull request #11776 from fjmolinas/pr_fix_stm32_flashpage
...
stm32_common/flashpage: fix stm32l4 erase error
2019-07-04 10:58:56 +02:00
francisco
24ea728007
stm32_common/flashpage: _wait_for_pending_operations() before write
2019-07-04 10:45:41 +02:00
francisco
26a8013502
stm32l4/flashpage: fix page erase
...
- The PNB in FLASH_CR wasn't cleared before every erase operation
and the new value was just stacked on top. After a couple of erase
the PNB written was overlapping with old ones failing to erase the
correct page.
2019-07-03 09:30:06 +02:00
3b58b4b6b6
cpu/stm32f3: add support for flashpage
2019-06-28 17:16:10 +02:00
francisco
46b90134ad
stm32_common/flashpage: cleanup stm32l0/1
...
- Since writes are performed per word no actions need
to be performed for flash access, and the FPRG doesn't
need to be cleared.
2019-06-20 09:43:13 +02:00
francisco
5e709edb31
stm32_common/flashpage: remove repeated command
2019-06-20 09:31:48 +02:00
francisco
eb78d35096
stm32_common/flashpage: make implicit CPU_FAM defines explicit
2019-06-20 09:28:27 +02:00
francisco
10875890e0
stm32_common/flashpage: use HSI only for stm32f0/1
...
- Before, HSI was enabled as the default case when it is only
used for stm32f0 and stm32f1. It is now implemented explicitly
for those platforms, and only those.
2019-06-20 09:27:26 +02:00
francisco
2c44cd4f70
stm32_common/flash: move wait_for_pending_operation to flash_common
2019-04-12 08:58:47 +02:00
a008b983b3
cpu/stm32_common: add flashpage support for stm32l4
2018-08-06 12:33:03 +02:00
600727453b
cpu/stm32_common/flashpage: clear EOP bit
...
This was taken from STM32 Cube generated code
2018-05-30 14:14:29 +02:00
f7b61b6ac1
cpu/stm32_common/flashpage: force waiting for pending operations
...
Moving the while loop in a separate function ensures no ordering
optimizations is applied silently by gcc.
This commit fixes the flashpage not working on iotlab-m3.
2018-05-30 14:12:24 +02:00
cb089a2f74
cpu/stm32_common/periph: cleanup flashpage
...
- improve debug messages
- fix missing space before comment
- use a comment instead of debug message (the same message is displayed by the function called after)
2018-05-30 14:09:17 +02:00
89e0389f27
cpu/stm32_common: implement eeprom access functions
2018-05-24 14:07:55 +02:00
Vincent Dupont
549bf0ef78
cpu/stm32: use const pointer in flashpage
2018-03-14 16:28:33 +01:00
67190a31ef
cpu/stm32_common: unify flashpage support
2018-03-13 16:30:04 +01:00
smlng
e381317fbf
make: fix sign-compare errors
...
cpu, nrf5x_common: fix sign-compare in periph/flashpage
drivers, periph_common: fix sign-compare in flashpage
cpu, sam0_common: fix sign-compare error in periph/gpio
cpu, cc2538: fix sign-compare in periph/timer
cpu, sam3: fix sign-compare in periph/gpio
cpu, stm32_common: fix sign-compare in periph/pwm
cpu, stm32_common: fix sign-compare in periph/timer
cpu, stm32_common: fix sign-compare in periph/flashpage
cpu, nrf5x_common: fix sign-compare in radio/nrfmin
cpu, samd21: fix sign-compare in periph/pwm
cpu, ezr32wg: fix sign-compare in periph/gpio
cpu, ezr32wg: fix sign-compare in periph/timer
drivers, ethos: fix sign-compare
sys, net: fix sign-compare
cpu, atmega_common: fix sign-compare error
cpu, msp430fxyz: fix sign-compare in periph/gpio
boards, msb-430-common: fix sign-compare in board_init
driver, cc2420: fix sign-compared
sys/net: fix sign-compare in gnrc_tftp
driver, pcd8544: fix sign-compare
driver, pn532: fix sign-compare
driver, sdcard_spi: fix sign-compare
tests: fix sign_compare
sys/net, lwmac: fix sign_compare
pkg, lwip: fix sign-compare
boards, waspmote: make CORECLOCK unsigned long to fix sign_compare error
tests, sock_ip: fix sign compare
tests, msg_avail: fix sign compare
tests, sock_udp: fix sign compare
boards: fix sign-compare for calliope and microbit matrix
2017-11-28 11:55:48 +01:00
Hauke Petersen
87200c4803
cpu/stm32: removed file guards from periph drivers
2017-11-09 16:27:24 +01:00
smlng
692cf96297
doc: fix doxygen grouping of cpu periph drivers
2017-06-26 14:42:11 +02:00
Hauke Petersen
d84982428b
cpu/stm32: added compile guards to flashpage.c
2017-02-13 09:45:37 +01:00
Hauke Petersen
3bd8c32554
cpu/stm32: moved flashpage driver to common code
2017-02-13 09:45:37 +01:00