mirror of https://github.com/ARMmbed/mbed-os.git
Add SPM_PANIC macro for TARGET_TFM
parent
99032f6967
commit
672712ca8a
|
@ -19,7 +19,15 @@
|
||||||
|
|
||||||
#include "psa_crypto_access_control.h"
|
#include "psa_crypto_access_control.h"
|
||||||
#include "psa_crypto_slot_management.h"
|
#include "psa_crypto_slot_management.h"
|
||||||
|
|
||||||
|
#if defined(TARGET_TFM)
|
||||||
|
#define SPM_PANIC(format, ...) \
|
||||||
|
{ \
|
||||||
|
while(1){}; \
|
||||||
|
}
|
||||||
|
#else
|
||||||
#include "spm_panic.h"
|
#include "spm_panic.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct psa_crypto_access_control_s {
|
typedef struct psa_crypto_access_control_s {
|
||||||
psa_key_handle_t key_handle;
|
psa_key_handle_t key_handle;
|
||||||
|
|
Loading…
Reference in New Issue