Skip to content

Commit c9d3a01

Browse files
dnuchcfriedt
authored andcommitted
arch: arm: specify max MPU regions for CONFIG_ARMV7_M_ARMV8_M_MAINLINE
Specifies max value of 16 MPU regions for this processor. Signed-off-by: Danny Nuch <[email protected]>
1 parent b8419e6 commit c9d3a01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/zephyr/arch/arm/mpu/arm_mpu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#define Z_ARM_CPU_HAS_PMSAV8_MPU 0
2626
#endif
2727

28-
#if defined(CONFIG_ARMV8_M_MAINLINE)
28+
#if defined(CONFIG_ARMV7_M_ARMV8_M_MAINLINE) || defined(CONFIG_ARMV8_M_MAINLINE)
2929
#define Z_ARM_MPU_MAX_REGIONS 16U
3030
#else
3131
#define Z_ARM_MPU_MAX_REGIONS 8U

0 commit comments

Comments
 (0)