testsuite: only enable TEST_ARM_CORTEX_M when building tests
Add a dependency on TEST_ARM_CORTEX_M switch, so it only gets switched on when building tests, not samples, as originally intended. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
parent
f9511079b2
commit
1d55f94a32
1 changed files with 1 additions and 0 deletions
|
@ -132,6 +132,7 @@ config TEST_FLASH_DRIVERS
|
||||||
config TEST_ARM_CORTEX_M
|
config TEST_ARM_CORTEX_M
|
||||||
bool
|
bool
|
||||||
depends on CPU_CORTEX_M
|
depends on CPU_CORTEX_M
|
||||||
|
depends on TEST
|
||||||
default y
|
default y
|
||||||
select ARM_SECURE_BUSFAULT_HARDFAULT_NMI if ARM_SECURE_FIRMWARE
|
select ARM_SECURE_BUSFAULT_HARDFAULT_NMI if ARM_SECURE_FIRMWARE
|
||||||
help
|
help
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue