|
36 | 36 | #endif /* toolchains */
|
37 | 37 |
|
38 | 38 | #elif (defined(TARGET_STM32F051R8) ||\
|
39 |
| - defined(TARGET_STM32F100RB) ||\ |
40 |
| - defined(TARGET_STM32L031K6) ||\ |
41 |
| - defined(TARGET_STM32L053C8) ||\ |
42 |
| - defined(TARGET_STM32L053R8)) |
| 39 | + defined(TARGET_STM32F100RB) ||\ |
| 40 | + defined(TARGET_STM32L031K6) ||\ |
| 41 | + defined(TARGET_STM32L053C8) ||\ |
| 42 | + defined(TARGET_STM32L053R8)) |
43 | 43 | #define INITIAL_SP (0x20002000UL)
|
44 | 44 |
|
45 | 45 | #elif (defined(TARGET_STM32F303K8) ||\
|
|
73 | 73 | #elif defined(TARGET_STM32L443RC)
|
74 | 74 | #define INITIAL_SP (0x2000C000UL)
|
75 | 75 |
|
76 |
| -#elif defined(TARGET_STM32L432KC) ||\ |
77 |
| - defined (TARGET_STM32L433RC) |
78 |
| -#define INITIAL_SP (0x20010000UL) |
79 |
| - |
80 | 76 | #elif (defined(TARGET_STM32F303RE) ||\
|
81 | 77 | defined(TARGET_STM32F303ZE) ||\
|
82 |
| - defined(TARGET_STM32F401VC)) |
| 78 | + defined(TARGET_STM32F401VC) ||\ |
| 79 | + defined(TARGET_STM32L432KC) ||\ |
| 80 | + defined(TARGET_STM32L433RC)) |
83 | 81 | #define INITIAL_SP (0x20010000UL)
|
84 | 82 |
|
85 | 83 | #elif defined(TARGET_STM32L152RE)
|
|
120 | 118 | defined(TARGET_STM32F769NI))
|
121 | 119 | #define INITIAL_SP (0x20080000UL)
|
122 | 120 |
|
| 121 | +#elif defined(TARGET_STM32L4R5ZI) |
| 122 | +#define INITIAL_SP (0x200A0000UL) |
| 123 | + |
123 | 124 | #else
|
124 | 125 | #error "INITIAL_SP is not defined for this target in the mbed_rtx.h file"
|
125 | 126 | #endif
|
|
0 commit comments