From 3b0b7671a0f68fc82886b312ab563eec9ad7042a Mon Sep 17 00:00:00 2001 From: kontais Date: Thu, 4 May 2017 09:56:23 +0800 Subject: [PATCH] stm32f4/arm_mpu_mem_cfg.h compile error fix Signed-off-by: kontais --- arch/arm/soc/st_stm32/stm32f4/arm_mpu_mem_cfg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/soc/st_stm32/stm32f4/arm_mpu_mem_cfg.h b/arch/arm/soc/st_stm32/stm32f4/arm_mpu_mem_cfg.h index 3173f7ad591..2469d7dba76 100644 --- a/arch/arm/soc/st_stm32/stm32f4/arm_mpu_mem_cfg.h +++ b/arch/arm/soc/st_stm32/stm32f4/arm_mpu_mem_cfg.h @@ -19,9 +19,9 @@ #elif CONFIG_FLASH_SIZE == 512 #define REGION_FLASH_SIZE REGION_512K #elif CONFIG_FLASH_SIZE == 1024 -#define REGION_FLASH_SIZE REGION_1024K +#define REGION_FLASH_SIZE REGION_1M #elif CONFIG_FLASH_SIZE == 2048 -#define REGION_FLASH_SIZE REGION_2048K +#define REGION_FLASH_SIZE REGION_2M #else #error "Unsupported configuration" #endif