diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 2ba434667d..dd6ce83af0 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -426,7 +426,8 @@ config ARMV7M_MPU config ARMV7M_MPU_NREGIONS int "Number of MPU regions" - default 8 + default 16 if ARCH_CORTEXM7 + default 8 if !ARCH_CORTEXM7 depends on ARMV7M_MPU ---help--- This is the number of protection regions supported by the MPU.