cpu/stm32: define EEPROM size for stm32l011k4

This commit is contained in:
Alexandre Abadie 2020-10-13 13:48:40 +02:00
parent e51279b228
commit 2e2b87dda5
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -62,7 +62,9 @@ typedef enum {
#define EEPROM_SIZE (2048U) /* 2kB */
#elif defined(CPU_LINE_STM32L031xx)
#define EEPROM_SIZE (1024U) /* 1kB */
#elif defined(CPU_LINE_STM32L010xB) || defined(CPU_LINE_STM32L011x3) || defined(CPU_LINE_STM32L011x4) || defined(CPU_LINE_STM32L021x4)
#elif defined(CPU_LINE_STM32L010xB) || defined(CPU_LINE_STM32L011x3) || \
defined(CPU_LINE_STM32L011x4) || defined(CPU_LINE_STM32L021x4) || \
defined(CPU_MODEL_STM32L011K4)
#define EEPROM_SIZE (512U) /* 512B */
#elif defined(CPU_LINE_STM32L010x6) || defined(CPU_LINE_STM32L010x8)
#define EEPROM_SIZE (256U) /* 256B */