Skip to content

Commit b4e5a53

Browse files
committed
Exclude mbed-hal-spm test for TrustZone chips
This is because for TrustZone chips like M23/M33, SecureFault is implemented in secure-side and cannot pass on to non-secure side.
1 parent 9cc1caa commit b4e5a53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TESTS/mbed_hal/spm/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
#error [NOT_SUPPORTED] this test is supported on GCC only
2424
#endif
2525

26-
#if defined(__CORTEX_M33)
27-
#error [NOT_SUPPORTED] Cannot run on M33 core as SecureFault is implemented in secure-side and cant be remapped
26+
#if DOMAIN_NS == 1
27+
#error [NOT_SUPPORTED] Cannot run on M23/M33 core as SecureFault is implemented in secure-side and cant be remapped
2828
#endif
2929

3030
#include "utest/utest.h"

0 commit comments

Comments
 (0)