-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Allow xPortIsAuthorizedToAccessBuffer() API call only from mpu_wrappers_v2 #992
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
Conversation
…y when using latest MPU wrappers
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #992 +/- ##
=======================================
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. |
Signed-off-by: Gaurav Aggarwal <[email protected]>
|
* Add reg tests to NuMaker M2351 project Signed-off-by: Gaurav Aggarwal <[email protected]> * Add reg tests for IAR Signed-off-by: Gaurav Aggarwal <[email protected]> * Fix formatting check Signed-off-by: Gaurav Aggarwal <[email protected]> * Fix header check Signed-off-by: Gaurav Aggarwal <[email protected]> --------- Signed-off-by: Gaurav Aggarwal <[email protected]>
Description
xPortIsAuthorizedToAccessBuffer()
API is used only in the latest version of secure MPU wrappers ( V10.6.x ) , and not in the older wrapper versions.xSchedulerRunning
variable is defined only in the latest version, hence when trying to compile the API with the old wrapper leads to compilation error. Hence , this PR adds the requirement of setting configUSE_MPU_WRAPPERS_V1 = 0 , to enable application writers to use this API.Test Steps
MPU soak test on STM32H743ZI
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.