File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC55S69/TARGET_M33_NS/device Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " psa"
2
+ "name" : " psa" ,
3
+ "config" : {
4
+ "present" : 1
5
+ }
3
6
}
Original file line number Diff line number Diff line change 16
16
* limitations under the License.
17
17
*/
18
18
19
+ #if MBED_CONF_PSA_PRESENT
20
+
19
21
#include "cmsis_nvic_virtual.h"
20
22
#include "mbed_toolchain.h"
21
23
@@ -25,3 +27,5 @@ void __NVIC_TFMSystemReset(void)
25
27
{
26
28
mbed_psa_system_reset ();
27
29
}
30
+
31
+ #endif // MBED_CONF_PSA_PRESENT
Original file line number Diff line number Diff line change @@ -37,16 +37,23 @@ extern "C" {
37
37
#define NVIC_GetActive __NVIC_GetActive
38
38
#define NVIC_SetPriority __NVIC_SetPriority
39
39
#define NVIC_GetPriority __NVIC_GetPriority
40
+ #if MBED_CONF_PSA_PRESENT
40
41
#define NVIC_SystemReset __NVIC_TFMSystemReset
42
+ #else
43
+ #define NVIC_SystemReset __NVIC_SystemReset
44
+ #endif // MBED_CONF_PSA_PRESENT
41
45
42
46
47
+ #if MBED_CONF_PSA_PRESENT
43
48
/**
44
49
* \brief Overriding the default CMSIS system reset implementation by calling
45
50
* secure TFM service.
46
51
*
47
52
*/
48
53
void __NVIC_TFMSystemReset (void );
49
54
55
+ #endif // MBED_CONF_PSA_PRESENT
56
+
50
57
#ifdef __cplusplus
51
58
}
52
59
#endif
You can’t perform that action at this time.
0 commit comments