From 6cb283d10684346ffab2c8cc3f0cdc9eef280de2 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Mon, 11 Mar 2024 13:11:31 +0100 Subject: [PATCH] tests: arch: common: ramfunc: add nrf54h20pdk cpuapp overlays On nRF54H20, we need to configure RAM with execution permissions in order to execute code from it. This patch adds overlays for the nRF54H20 PDK cpuapp cores so that RAM0X region is given execution permissions and so the test runs successfully. Signed-off-by: Gerard Marull-Paretas --- .../ramfunc/boards/nrf54h20pdk_nrf54h20_cpuapp.overlay | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/arch/common/ramfunc/boards/nrf54h20pdk_nrf54h20_cpuapp.overlay diff --git a/tests/arch/common/ramfunc/boards/nrf54h20pdk_nrf54h20_cpuapp.overlay b/tests/arch/common/ramfunc/boards/nrf54h20pdk_nrf54h20_cpuapp.overlay new file mode 100644 index 00000000000..2deb6756009 --- /dev/null +++ b/tests/arch/common/ramfunc/boards/nrf54h20pdk_nrf54h20_cpuapp.overlay @@ -0,0 +1,8 @@ +/* + * Copyright (c) 2024 Nordic Semiconductor ASA + * SPDX-License-Identifier: Apache-2.0 + */ + +&cpuapp_ram0x_region { + perm-execute; +};