tests: arch: arm_thread_swap: enable running on Cortex-M Baseline

Update the .yaml file of the test suite, so it enables
building and running the test for Cortex-M Baseline
architecture. Update the test README accordingly.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
Ioannis Glaropoulos 2019-10-03 11:42:11 +02:00
commit ea4aacb4cb
2 changed files with 4 additions and 4 deletions

View file

@ -17,12 +17,12 @@ behaves as expected. In particular, the test verifies that:
space or FP shared registers) is saved and restored properly. space or FP shared registers) is saved and restored properly.
Notes: Notes:
The test verifies the correct behavior of the thread contex-switch, The test verifies the correct behavior of the thread context-switch,
when it is triggered indirectly (by setting the PendSV interrupt when it is triggered indirectly (by setting the PendSV interrupt
to pending state), as well as when the thread itself triggers its to pending state), as well as when the thread itself triggers its
swap-out (by calling z_arch_swap(.)). swap-out (by calling z_arch_swap(.)).
The test is currently supported only in ARMv7-M and ARMv8-M Mainline The test is currently supported in ARM Cortex-M Baseline and Mainline
targets. targets.

View file

@ -1,11 +1,11 @@
tests: tests:
arch.arm.swap.common: arch.arm.swap.common:
arch_whitelist: arm arch_whitelist: arm
filter: CONFIG_ARMV7_M_ARMV8_M_MAINLINE filter: CONFIG_ARMV6_M_ARMV8_M_BASELINE or CONFIG_ARMV7_M_ARMV8_M_MAINLINE
tags: arm tags: arm
arch.arm.swap.common.no_optimizations: arch.arm.swap.common.no_optimizations:
arch_whitelist: arm arch_whitelist: arm
filter: CONFIG_ARMV7_M_ARMV8_M_MAINLINE filter: CONFIG_ARMV6_M_ARMV8_M_BASELINE or CONFIG_ARMV7_M_ARMV8_M_MAINLINE
extra_configs: extra_configs:
- CONFIG_NO_OPTIMIZATIONS=y - CONFIG_NO_OPTIMIZATIONS=y
tags: arm tags: arm