stm32f4/arm_mpu_mem_cfg.h compile error fix

Signed-off-by: kontais <kontais@aliyun.com>
This commit is contained in:
kontais 2017-05-04 09:56:23 +08:00 committed by Kumar Gala
commit 3b0b7671a0

View file

@ -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