Skip to content

Commit bf78dc4

Browse files
authored
Merge pull request #10702 from LMESTM/Increase_stack_size_when_stats_enabled
Add extra idle debug stack size in case all STATS are enabled
2 parents 363ad8a + 6f46fd3 commit bf78dc4

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
@@ -47,7 +47,7 @@
4747
#endif
4848

4949
// Increase the idle thread stack size when debug is enabled
50-
#if defined(MBED_DEBUG)
50+
#if defined(MBED_DEBUG) || defined(MBED_ALL_STATS_ENABLED)
5151
#define EXTRA_IDLE_STACK_DEBUG MBED_CONF_RTOS_IDLE_THREAD_STACK_SIZE_DEBUG_EXTRA
5252
#else
5353
#define EXTRA_IDLE_STACK_DEBUG 0

0 commit comments

Comments
 (0)