File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
targets/TARGET_Cypress/TARGET_PSOC6 Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 21
21
22
22
#if defined(TARGET_MCU_PSOC6_M0 )
23
23
24
+ #ifdef TARGET_PSA
25
+ #ifndef INITIAL_SP
26
+ #define INITIAL_SP (PSA_SECURE_RAM_START + PSA_SECURE_RAM_SIZE)
27
+ #endif // INITIAL_SP
28
+ #else
24
29
#ifndef INITIAL_SP
25
30
#define INITIAL_SP (0x08000000 + 0x00010000) // Ram origin + length
26
- #endif
31
+ #endif // INITIAL_SP
27
32
33
+ #endif // TARGET_PSA
28
34
#elif defined(TARGET_MCU_PSOC6_M4 )
29
35
36
+ #ifdef TARGET_PSA
37
+ #ifndef INITIAL_SP
38
+ #define INITIAL_SP (PSA_NON_SECURE_RAM_START + PSA_NON_SECURE_RAM_SIZE)
39
+ #endif // INITIAL_SP
40
+ #else
30
41
#ifndef INITIAL_SP
31
42
#define INITIAL_SP (0x08010000 + 0x00037800) // Ram origin + length
32
- #endif
43
+ #endif // INITIAL_SP
44
+ #endif // TARGET_PSA
33
45
34
46
#else
35
47
You can’t perform that action at this time.
0 commit comments