Skip to content

Commit 20c89e3

Browse files
committed
Include TICKLESS stack size increase even without LPTICKER_DELAY_TICKS
LPTICKER_DELAY_TICKS extra stack size has been introduced with the LP ticker C++ wrapper. now we've removed the wrapper and LPTICKER_DELAY_TICKS definition, but we still need extra stack size for the low level wrapper.
1 parent ce7ce28 commit 20c89e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rtos/TARGET_CORTEX/mbed_rtx_conf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#endif
4141

4242
// Increase the idle thread stack size when tickless is enabled
43-
#if defined(MBED_TICKLESS) && defined(LPTICKER_DELAY_TICKS) && (LPTICKER_DELAY_TICKS > 0)
43+
#if defined(MBED_TICKLESS)
4444
#define EXTRA_IDLE_STACK MBED_CONF_RTOS_IDLE_THREAD_STACK_SIZE_TICKLESS_EXTRA
4545
#else
4646
#define EXTRA_IDLE_STACK 0

0 commit comments

Comments
 (0)