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:
parent
d98d6c1e7c
commit
2bdc5cf6d7
@ -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.
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user