-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARM CM0+ MPU Port #1005
ARM CM0+ MPU Port #1005
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1005 +/- ##
=======================================
Coverage 93.00% 93.00%
=======================================
Files 6 6
Lines 3200 3200
Branches 879 879
=======================================
Hits 2976 2976
Misses 111 111
Partials 113 113
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
cdbccf3
to
7ba1e3e
Compare
#define portMPU_REGION_CACHEABLE_BUFFERABLE ( 0x7UL << 16UL ) | ||
|
||
#define portMPU_REGION_VALID ( 0x10UL ) | ||
#define portMPU_RASR_TEX_S_C_B_MASK ( 0x3FUL ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be 0x7
which is then shifted by 16 bits?
78b8d2a
to
23363bc
Compare
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verified I was able to compile the port and run using the M0+ demo application.
Deferring a full review to Gaurav who has already approved this PR
The number of implemented priority bits for Armv8-M baseline implementation is defined by the architecture as 2. Therefore the config option `configPRIO_BITS` is updated to 2. In addition, in Armv8-M baseline implementation BASEPRI is RES0. Therefore, `configMAX_SYSCALL_INTERRUPT_PRIORITY` is not supported. Hence this config option is removed. Signed-off-by: Devaraj Ranganna <[email protected]> Co-authored-by: Gaurav-Aggarwal-AWS <[email protected]>
Description
This pull request creates an ARM Cortex M0 Plus MPU Enabled Port
These changes have been overlayed onto the ARM_CM23_NTZ/non_secure port to create a minimal diff for the review
When the changes have been reviewed and approved this will then be moved into a separate directory.
Test Steps
Checklist:
Related Issue
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.