diff --git a/soc/arm/common/cortex_m/arm_mpu_mem_cfg.h b/soc/arm/common/cortex_m/arm_mpu_mem_cfg.h index dbcaa553302..eafd78e8d90 100644 --- a/soc/arm/common/cortex_m/arm_mpu_mem_cfg.h +++ b/soc/arm/common/cortex_m/arm_mpu_mem_cfg.h @@ -54,6 +54,10 @@ #define REGION_SRAM_SIZE REGION_2M #elif CONFIG_SRAM_SIZE <= 4096 #define REGION_SRAM_SIZE REGION_4M +#elif CONFIG_SRAM_SIZE <= 8192 +#define REGION_SRAM_SIZE REGION_8M +#elif CONFIG_SRAM_SIZE <= 16384 +#define REGION_SRAM_SIZE REGION_16M #elif CONFIG_SRAM_SIZE == 32768 #define REGION_SRAM_SIZE REGION_32M #elif CONFIG_SRAM_SIZE == 65536