Skip to content

Commit

Permalink
tests: code_relocation: restrict Arm test to NXP platforms
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
manuargue authored and carlescufi committed Jul 14, 2023
1 parent 616561d commit 20a2e40
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/application_development/code_relocation/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 20a2e40

Please sign in to comment.