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.
pull/10437/head
ccli8 2019-04-18 11:05:27 +08:00 committed by Chun-Chieh Li
parent 9cc1caa031
commit b4e5a53f48
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,8 @@
#error [NOT_SUPPORTED] this test is supported on GCC only #error [NOT_SUPPORTED] this test is supported on GCC only
#endif #endif
#if defined(__CORTEX_M33) #if DOMAIN_NS == 1
#error [NOT_SUPPORTED] Cannot run on M33 core as SecureFault is implemented in secure-side and cant be remapped #error [NOT_SUPPORTED] Cannot run on M23/M33 core as SecureFault is implemented in secure-side and cant be remapped
#endif #endif
#include "utest/utest.h" #include "utest/utest.h"