1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 22:43:50 +01:00

cpu/stm32: fix FLASHPAGE_ERASE_STATE for stm32l4

This commit is contained in:
Benjamin Valentin 2021-02-17 13:32:12 +01:00
parent d98d6c1e7c
commit 2bdc5cf6d7

View File

@ -116,8 +116,7 @@ extern "C" {
#define FLASHPAGE_SIZE (128U)
#endif
#if defined(CPU_FAM_STM32L0) || defined(CPU_FAM_STM32L1) || \
defined(CPU_FAM_STM32L4)
#if defined(CPU_FAM_STM32L0) || defined(CPU_FAM_STM32L1)
#define FLASHPAGE_ERASE_STATE (0x00U)
#endif
@ -188,7 +187,6 @@ extern "C" {
#endif
/* The minimum block size which can be written depends on the family.
* However, the erase block is always FLASHPAGE_SIZE.
*/