diff --git a/cpu/stm32/include/cpu_conf.h b/cpu/stm32/include/cpu_conf.h index 35e10aaab7..d83500e7d5 100644 --- a/cpu/stm32/include/cpu_conf.h +++ b/cpu/stm32/include/cpu_conf.h @@ -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. */