[rtems commit] bsps/stm32h7: disable MPU alignment for M4-based BSP variants

Karel Gardas karel at rtems.org
Fri Jun 30 09:36:30 UTC 2023


Module:    rtems
Branch:    master
Commit:    56d21a7acc6e547a41d2db2ab1088ba4c376a401
Changeset: http://git.rtems.org/rtems/commit/?id=56d21a7acc6e547a41d2db2ab1088ba4c376a401

Author:    Karel Gardas <karel at functional.vision>
Date:      Thu Jun 29 22:46:13 2023 +0200

bsps/stm32h7: disable MPU alignment for M4-based BSP variants

There is no point in wasting precious memory space on enforced section
alignment for the purpose of MPU which is not implemented on M4 core
anyway.

---

 spec/build/bsps/arm/stm32h7/optenmpualign.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/spec/build/bsps/arm/stm32h7/optenmpualign.yml b/spec/build/bsps/arm/stm32h7/optenmpualign.yml
index 874385956c..60e45c708d 100644
--- a/spec/build/bsps/arm/stm32h7/optenmpualign.yml
+++ b/spec/build/bsps/arm/stm32h7/optenmpualign.yml
@@ -7,6 +7,10 @@ build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH & Co. KG
 default:
+- enabled-by:
+  - arm/stm32h747i-disco-m4
+  - arm/stm32h757i-eval-m4
+  value: false
 - enabled-by: true
   value: true
 description: |



More information about the vc mailing list