From 20a2e40a5e2e566f01324fba49b0508326c70207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Arg=C3=BCelles?= Date: Tue, 11 Jul 2023 11:43:02 -0300 Subject: [PATCH] tests: code_relocation: restrict Arm test to NXP platforms MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently tests.application_development.code_relocation and tests.application_development.code_relocation_kinetis scenarios are restricted to specific NXP platforms only, so make filters more strict. Also for frdm_k64f, which lacks of ITCM, relocation to ITCM must be disabled. Fixes #60167 Signed-off-by: Manuel Argüelles --- .../application_development/code_relocation/testcase.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/application_development/code_relocation/testcase.yaml b/tests/application_development/code_relocation/testcase.yaml index c02ef6b6ee9629..befb9f3a3e95e7 100644 --- a/tests/application_development/code_relocation/testcase.yaml +++ b/tests/application_development/code_relocation/testcase.yaml @@ -6,12 +6,15 @@ tests: arch_allow: arm extra_configs: - CONFIG_RELOCATE_TO_ITCM=y + platform_allow: + - mimxrt1060_evk tests.application_development.code_relocation_kinetis: - filter: CONFIG_CPU_HAS_NXP_MPU and CONFIG_MINIMAL_LIBC and dt_chosen_enabled("zephyr,itcm") + filter: CONFIG_CPU_HAS_NXP_MPU and CONFIG_MINIMAL_LIBC arch_allow: arm extra_configs: - - CONFIG_RELOCATE_TO_ITCM=y - CONFIG_MPU_ALLOW_FLASH_WRITE=y + platform_allow: + - frdm_k64f tests.application_development.code_relocation.no_itcm: filter: not CONFIG_CPU_HAS_NXP_MPU and not dt_chosen_enabled("zephyr,itcm") arch_allow: arm