stm32f4/arm_mpu_mem_cfg.h compile error fix
Signed-off-by: kontais <kontais@aliyun.com>
This commit is contained in:
parent
d34c10725b
commit
3b0b7671a0
1 changed files with 2 additions and 2 deletions
|
@ -19,9 +19,9 @@
|
||||||
#elif CONFIG_FLASH_SIZE == 512
|
#elif CONFIG_FLASH_SIZE == 512
|
||||||
#define REGION_FLASH_SIZE REGION_512K
|
#define REGION_FLASH_SIZE REGION_512K
|
||||||
#elif CONFIG_FLASH_SIZE == 1024
|
#elif CONFIG_FLASH_SIZE == 1024
|
||||||
#define REGION_FLASH_SIZE REGION_1024K
|
#define REGION_FLASH_SIZE REGION_1M
|
||||||
#elif CONFIG_FLASH_SIZE == 2048
|
#elif CONFIG_FLASH_SIZE == 2048
|
||||||
#define REGION_FLASH_SIZE REGION_2048K
|
#define REGION_FLASH_SIZE REGION_2M
|
||||||
#else
|
#else
|
||||||
#error "Unsupported configuration"
|
#error "Unsupported configuration"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue