Skip to content

Commit 9231e26

Browse files
author
Deepika
committed
Corrected main thread stack size, was accidently updated by removing condition
Main thread stack size is reduced for TARGET_STM32F070RB and TARGET_STM32F072RB, in recent update to mbed_rtx.h the conditional check for main thread size update was removed.
1 parent e7e9e07 commit 9231e26

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

targets/TARGET_STM/mbed_rtx.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,11 @@
130130

131131
#endif // INITIAL_SP
132132

133+
#if (defined(TARGET_STM32F070RB) || defined(TARGET_STM32F072RB))
133134
#ifdef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE
134135
#undef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE
135136
#endif
136137
#define MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE 3072
138+
#endif
137139

138140
#endif // MBED_MBED_RTX_H

0 commit comments

Comments
 (0)