[riot-commits] [RIOT-OS/RIOT] 26a801: stm32l4/flashpage: fix page erase

Alexandre Abadie noreply at github.com
Thu Jul 4 10:58:58 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 26a8013502953e7125b732eadff862c0cda10d08
      https://github.com/RIOT-OS/RIOT/commit/26a8013502953e7125b732eadff862c0cda10d08
  Author: francisco <femolina at uc.cl>
  Date:   2019-07-03 (Wed, 03 Jul 2019)

  Changed paths:
    M cpu/stm32_common/periph/flashpage.c

  Log Message:
  -----------
  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.


  Commit: 3f984a1128c937a565f3342bc97928baf93441ac
      https://github.com/RIOT-OS/RIOT/commit/3f984a1128c937a565f3342bc97928baf93441ac
  Author: Alexandre Abadie <alexandre.abadie at inria.fr>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M cpu/stm32_common/periph/flashpage.c

  Log Message:
  -----------
  Merge pull request #11776 from fjmolinas/pr_fix_stm32_flashpage

stm32_common/flashpage: fix stm32l4 erase error


Compare: https://github.com/RIOT-OS/RIOT/compare/59933d291bf0...3f984a1128c9


More information about the commits mailing list