]> begriffs open source - freertos/commit
FreeRTOS MPU: Remove MPU region number check (#1261) main
authorErickReyesR <ErickReyesR@users.noreply.github.com>
Wed, 19 Mar 2025 09:31:22 +0000 (02:31 -0700)
committerGitHub <noreply@github.com>
Wed, 19 Mar 2025 09:31:22 +0000 (15:01 +0530)
commitb9aa0645913ac346b0da2d1de662cda98467b471
tree04370787d9345c48a41eee8a7936cfcd5a0825a0
parentdacce186cfa4badc412b70f47f9b7c41acf7d89d
FreeRTOS MPU: Remove MPU region number check (#1261)

FreeRTOS MPU: Remove MPU region number check

This change removes the assertion and runtime check that enforces
matching between configTOTAL_MPU_REGIONS and physical MPU
regions,. This allows applications running on devices with 16 MPU
regions to manage 8 MPU regions while leaving the remaining 8
for the kernel.

Signed-off-by: Erick Reyes <erickreyes@google.com>
21 files changed:
portable/ARMv8M/non_secure/port.c
portable/GCC/ARM_CM23/non_secure/port.c
portable/GCC/ARM_CM23_NTZ/non_secure/port.c
portable/GCC/ARM_CM33/non_secure/port.c
portable/GCC/ARM_CM33_NTZ/non_secure/port.c
portable/GCC/ARM_CM35P/non_secure/port.c
portable/GCC/ARM_CM35P_NTZ/non_secure/port.c
portable/GCC/ARM_CM55/non_secure/port.c
portable/GCC/ARM_CM55_NTZ/non_secure/port.c
portable/GCC/ARM_CM85/non_secure/port.c
portable/GCC/ARM_CM85_NTZ/non_secure/port.c
portable/IAR/ARM_CM23/non_secure/port.c
portable/IAR/ARM_CM23_NTZ/non_secure/port.c
portable/IAR/ARM_CM33/non_secure/port.c
portable/IAR/ARM_CM33_NTZ/non_secure/port.c
portable/IAR/ARM_CM35P/non_secure/port.c
portable/IAR/ARM_CM35P_NTZ/non_secure/port.c
portable/IAR/ARM_CM55/non_secure/port.c
portable/IAR/ARM_CM55_NTZ/non_secure/port.c
portable/IAR/ARM_CM85/non_secure/port.c
portable/IAR/ARM_CM85_NTZ/non_secure/port.c