Skip to content

Commit 577d286

Browse files
Oren Cohen0xc0170
authored andcommitted
Skip test on Cortex M33 devices
On platforms using coretx m33 accessing the secure memory will cause SecureFault instead of Hardfault. SecureFault is implemented in the secure image and cannot be changed in runtime.
1 parent ca06f94 commit 577d286

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

TESTS/mbed_hal/spm/main.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
#error [NOT_SUPPORTED] Disable this Test until FUTURE_SEQUANA_PSA enables Memory protection
2828
#endif
2929

30+
#if defined(__CORTEX_M33)
31+
#error [NOT_SUPPORTED] Cannot run on M33 core as SecureFault is implemented in secure-side and cant be remapped
32+
#endif
33+
3034
#include "utest/utest.h"
3135
#include "unity/unity.h"
3236
#include "greentea-client/test_env.h"

0 commit comments

Comments
 (0)