RTEMS | bsps/stm32h7: Honor the intent of the MPU alignment option (!189)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu Aug 15 16:26:43 UTC 2024
Kinsey Moore created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/189
Project:Branches: opticron/rtems:stm32h7-mpu-fix to rtems/rtos/rtems:main
Author: Kinsey Moore
Assignee: Kinsey Moore
## Summary
bsps/stm32h7: Honor the intent of the MPU alignment option
Currently, if a BSP is built without MPU alignment enforcement, the MPU
is still enabled and can produce a non-functional binary since code can
be mixed with data within a memory region and memory regions are marked
as read-only or no-execute based on section addresses and sizes leading
to overlapping regions being defined which causes the later-defined
region to take precedence. This change disables the MPU when alignment
is not enforced, allowing the binary to function.
<!-- Default settings, if it is a dropdown it will set after submission -->
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/189
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240815/6df03c86/attachment.htm>
More information about the bugs
mailing list