summaryrefslogtreecommitdiff
path: root/chip/stm32/config-stm32l15x.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/config-stm32l15x.h')
-rw-r--r--chip/stm32/config-stm32l15x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/config-stm32l15x.h b/chip/stm32/config-stm32l15x.h
index afdc241e96..0b32f95572 100644
--- a/chip/stm32/config-stm32l15x.h
+++ b/chip/stm32/config-stm32l15x.h
@@ -4,7 +4,7 @@
*/
/* Memory mapping */
-#define CONFIG_FLASH_SIZE 0x00020000
+#define CONFIG_FLASH_SIZE_BYTES 0x00020000
#define CONFIG_FLASH_BANK_SIZE 0x1000
#define CONFIG_FLASH_ERASE_SIZE 0x0100 /* erase bank size */