The patch also enables usage of the option on imxrt and stm32h7 based BSPs.
Sponsored-By: Precidata --- spec/build/bsps/arm/imxrt/bspimxrt.yml | 2 ++ spec/build/bsps/arm/optmpuctrl.yml | 25 +++++++++++++++++++++++++ spec/build/bsps/arm/stm32h7/grp.yml | 2 ++ 3 files changed, 29 insertions(+) create mode 100644 spec/build/bsps/arm/optmpuctrl.yml diff --git a/spec/build/bsps/arm/imxrt/bspimxrt.yml b/spec/build/bsps/arm/imxrt/bspimxrt.yml index b666be5241..e05ceeccd9 100644 --- a/spec/build/bsps/arm/imxrt/bspimxrt.yml +++ b/spec/build/bsps/arm/imxrt/bspimxrt.yml @@ -165,6 +165,8 @@ links: uid: linkcmdsmemory - role: build-dependency uid: ../../bspopts +- role: build-dependency + uid: ../optmpuctrl source: - bsps/arm/imxrt/console/console.c - bsps/arm/imxrt/dts/imxrt1050-evkb.c diff --git a/spec/build/bsps/arm/optmpuctrl.yml b/spec/build/bsps/arm/optmpuctrl.yml new file mode 100644 index 0000000000..96f68968a6 --- /dev/null +++ b/spec/build/bsps/arm/optmpuctrl.yml @@ -0,0 +1,25 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-string: null +- define-unquoted: null +build-type: option +copyrights: +- Copyright (C) 2023 Karel Gardas +description: | + Default value of the ARM MPU CTRL register +default: +- enabled-by: + - arm/imxrt1052 + - arm/stm32h7 + - arm/nucleo-h743zi + - arm/stm32h7b3i-dk + - arm/stm32h747i-disco + - arm/stm32h757i-eval + value: (ARMV7M_MPU_CTRL_ENABLE | ARMV7M_MPU_CTRL_PRIVDEFENA) +- enabled-by: true + value: ARMV7M_MPU_CTRL_ENABLE +enabled-by: true +format: '{}' +links: [] +name: ARMV7M_MPU_CTRL_DEFAULT +type: build diff --git a/spec/build/bsps/arm/stm32h7/grp.yml b/spec/build/bsps/arm/stm32h7/grp.yml index 9735b6734c..c415a7a71d 100644 --- a/spec/build/bsps/arm/stm32h7/grp.yml +++ b/spec/build/bsps/arm/stm32h7/grp.yml @@ -24,6 +24,8 @@ links: uid: ../../objmem - role: build-dependency uid: optenmpualign +- role: build-dependency + uid: ../optmpuctrl - role: build-dependency uid: optenuart4 - role: build-dependency -- 2.25.1 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel