Skip to content

Commit abca890

Browse files
committed
NUCLEO_L4R5ZI: update mbed_rtx.h
1 parent ef33ff5 commit abca890

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

targets/TARGET_STM/mbed_rtx.h

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
#endif /* toolchains */
3737

3838
#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))
4343
#define INITIAL_SP (0x20002000UL)
4444

4545
#elif (defined(TARGET_STM32F303K8) ||\
@@ -73,13 +73,11 @@
7373
#elif defined(TARGET_STM32L443RC)
7474
#define INITIAL_SP (0x2000C000UL)
7575

76-
#elif defined(TARGET_STM32L432KC) ||\
77-
defined (TARGET_STM32L433RC)
78-
#define INITIAL_SP (0x20010000UL)
79-
8076
#elif (defined(TARGET_STM32F303RE) ||\
8177
defined(TARGET_STM32F303ZE) ||\
82-
defined(TARGET_STM32F401VC))
78+
defined(TARGET_STM32F401VC) ||\
79+
defined(TARGET_STM32L432KC) ||\
80+
defined(TARGET_STM32L433RC))
8381
#define INITIAL_SP (0x20010000UL)
8482

8583
#elif defined(TARGET_STM32L152RE)
@@ -120,6 +118,9 @@
120118
defined(TARGET_STM32F769NI))
121119
#define INITIAL_SP (0x20080000UL)
122120

121+
#elif defined(TARGET_STM32L4R5ZI)
122+
#define INITIAL_SP (0x200A0000UL)
123+
123124
#else
124125
#error "INITIAL_SP is not defined for this target in the mbed_rtx.h file"
125126
#endif

0 commit comments

Comments
 (0)