zephyr/tests/application_development/code_relocation/testcase.yaml
Manuel Argüelles 62f8fd962b tests: code_relocation: update test filters
ITCM relocation tests depends on MINIMAL_LIBC and when using Zephyr SDK
the default is PICOLIBC for mr_canhubk3 board, so explicitly select it.
Also the NXP S32 platforms don't have NXP MPU, so remove it.

For frdm_k64f the ITCM relocation test is not executed, so remove the
unnecesary filter CONFIG_MINIMAL_LIBC.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-09-11 19:57:18 +02:00

50 lines
1.5 KiB
YAML

common:
tags: linker
tests:
application_development.code_relocation:
filter: not CONFIG_CPU_HAS_NXP_MPU and CONFIG_MINIMAL_LIBC and dt_chosen_enabled("zephyr,itcm")
arch_allow: arm
extra_configs:
- CONFIG_RELOCATE_TO_ITCM=y
platform_allow:
- mimxrt1060_evk
application_development.code_relocation_kinetis:
filter: CONFIG_CPU_HAS_NXP_MPU
arch_allow: arm
extra_configs:
- CONFIG_MPU_ALLOW_FLASH_WRITE=y
platform_allow:
- frdm_k64f
application_development.code_relocation.nxp_s32:
filter: dt_chosen_enabled("zephyr,itcm")
arch_allow: arm
extra_configs:
- CONFIG_MINIMAL_LIBC=y
- CONFIG_RELOCATE_TO_ITCM=y
- CONFIG_NULL_POINTER_EXCEPTION_DETECTION_NONE=y
platform_allow:
- mr_canhubk3
application_development.code_relocation.no_itcm:
filter: not CONFIG_CPU_HAS_NXP_MPU and not dt_chosen_enabled("zephyr,itcm")
arch_allow: arm
extra_sections:
- _SRAM2_RODATA_SECTION_NAME
- _SRAM_TEXT_SECTION_NAME
- _SRAM_RODATA_SECTION_NAME
- _SRAM_DATA_SECTION_NAME
- _CUSTOM_SECTION_NAME2
platform_allow:
- qemu_cortex_m3
- mps2_an385
- sam_e70_xplained
integration_platforms:
- qemu_cortex_m3
application_development.code_relocation.riscv:
extra_args: CONF_FILE="prj_riscv.conf"
platform_allow:
- qemu_riscv32
- qemu_riscv64
application_development.code_relocation.xtensa:
extra_args: CONF_FILE="prj_xtensa.conf"
platform_allow: qemu_xtensa