Remove error for 16 MPU regions from IAR ports#1149
Merged
aggarg merged 1 commit intoFreeRTOS:mainfrom Sep 23, 2024
Merged
Conversation
Support for 16 MPU regions was added to Cortex-M33, M35P, M55 and M85 ports was added but the compile time error check was not removed. This results in compilation error when 16 MPU regions are used. This PR removes the not needed compile time error check. It was reported here - https://forums.freertos.org/t/cortex-m55-and-16-region-mpu-support/21470. Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
|
AniruddhaKanhere
approved these changes
Sep 22, 2024
tony-josi-aws
approved these changes
Sep 23, 2024
moninom1
pushed a commit
to moninom1/FreeRTOS-Kernel
that referenced
this pull request
Sep 30, 2025
* Add in a Cortex R5F MPU demo for the Hercules RM57 Development Kit. * Add in a Cortex R4F MPU demo for the Hercules RM46 Development Kit. * Provide a Code Composer Studio (CCS) project for running these demos. * Provide a CMakeLists.txt file to allow for compilation of the demos without use of an IDE. * Add a CI-CD build of these demos using CMake with Fetch-Content. * Include necessary README to explain the new demos. ---------
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Support for 16 MPU regions was added to Cortex-M33, M35P, M55 and M85 ports was added in this PR but the compile time error check was not removed. This results in compilation error when 16 MPU regions are used. This PR removes the not needed compile time error check.
Test Steps
Build IAR demo with
configTOTAL_MPU_REGIONSset to 16.Checklist:
Related Issue
https://forums.freertos.org/t/cortex-m55-and-16-region-mpu-support/21470
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.