[riot-commits] [RIOT-OS/RIOT] cb089a: cpu/stm32_common/periph: cleanup flashpage

Francisco Acosta fco.ja.ac at gmail.com
Wed May 30 17:50:24 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: cb089a2f74fe50f0dd5b1cbb5288ec9f3198ae07
      https://github.com/RIOT-OS/RIOT/commit/cb089a2f74fe50f0dd5b1cbb5288ec9f3198ae07
  Author: Alexandre Abadie <alexandre.abadie at inria.fr>
  Date:   2018-05-30 (Wed, 30 May 2018)

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

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


  Commit: c73ec5c00f65087f8c2cb22b4b266a0343703009
      https://github.com/RIOT-OS/RIOT/commit/c73ec5c00f65087f8c2cb22b4b266a0343703009
  Author: Alexandre Abadie <alexandre.abadie at inria.fr>
  Date:   2018-05-30 (Wed, 30 May 2018)

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

  Log Message:
  -----------
  cpu/stm32_common/periph: don't lock if flash is already locked


  Commit: f7b61b6ac1ca11351342451cbc1c4c140a9aa6da
      https://github.com/RIOT-OS/RIOT/commit/f7b61b6ac1ca11351342451cbc1c4c140a9aa6da
  Author: Alexandre Abadie <alexandre.abadie at inria.fr>
  Date:   2018-05-30 (Wed, 30 May 2018)

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

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


  Commit: 600727453b891a703bfb718a542fac46069ca6fb
      https://github.com/RIOT-OS/RIOT/commit/600727453b891a703bfb718a542fac46069ca6fb
  Author: Alexandre Abadie <alexandre.abadie at inria.fr>
  Date:   2018-05-30 (Wed, 30 May 2018)

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

  Log Message:
  -----------
  cpu/stm32_common/flashpage: clear EOP bit

This was taken from STM32 Cube generated code


  Commit: 7529133558d9cbb0ea3bf8ae401e807464181533
      https://github.com/RIOT-OS/RIOT/commit/7529133558d9cbb0ea3bf8ae401e807464181533
  Author: Francisco Acosta <fco.ja.ac at gmail.com>
  Date:   2018-05-30 (Wed, 30 May 2018)

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

  Log Message:
  -----------
  Merge pull request #9068 from aabadie/pr/stm32-common/fix_flashpage_m3

cpu/stm32-common: slightly rework flashpage driver and fix iotlab-m3


Compare: https://github.com/RIOT-OS/RIOT/compare/1aed925ca8b4...7529133558d9
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the commits mailing list