File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
targets/TARGET_Cypress/TARGET_PSOC6 Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,6 @@ void mailbox_init(void);
34
34
*******************************************************************************/
35
35
void mbed_sdk_init (void )
36
36
{
37
- #if !defined(COMPONENT_SPM_MAILBOX )
38
- /* Disable global interrupts */
39
- __disable_irq ();
40
- #endif
41
-
42
37
/* Initialize shared resource manager */
43
38
cy_srm_initialize ();
44
39
@@ -50,16 +45,11 @@ void mbed_sdk_init(void)
50
45
mailbox_init ();
51
46
#endif
52
47
53
- #if (CY_CPU_CORTEX_M0P )
54
- #if !defined(COMPONENT_SPM_MAILBOX )
55
- /* Enable global interrupts */
56
- __enable_irq ();
57
- #endif
58
- #else
48
+ #if (!CY_CPU_CORTEX_M0P )
59
49
/* Set up the device based on configurator selections */
60
50
init_cycfg_all ();
61
51
62
- /* Enable global interrupts */
52
+ /* Enable global interrupts (disabled in CM4 startup assembly) */
63
53
__enable_irq ();
64
54
#endif
65
55
}
You can’t perform that action at this time.
0 commit comments