Skip to content

Commit

Permalink
Include TICKLESS stack size increase even without LPTICKER_DELAY_TICKS
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
LMESTM committed Jun 6, 2019
1 parent a8444bd commit c7de96d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtos/TARGET_CORTEX/mbed_rtx_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#endif

// Increase the idle thread stack size when tickless is enabled
#if defined(MBED_TICKLESS) && defined(LPTICKER_DELAY_TICKS) && (LPTICKER_DELAY_TICKS > 0)
#if defined(MBED_TICKLESS)
#define EXTRA_IDLE_STACK MBED_CONF_RTOS_IDLE_THREAD_STACK_SIZE_TICKLESS_EXTRA
#else
#define EXTRA_IDLE_STACK 0
Expand Down

0 comments on commit c7de96d

Please sign in to comment.