From 4a6310a26be37e53b7ced682eb93b87fea717cf5 Mon Sep 17 00:00:00 2001 From: Laurent Meunier Date: Mon, 27 May 2019 13:33:35 +0200 Subject: [PATCH] Add extra idle debug stack size in case all STATS are enabled --- rtos/TARGET_CORTEX/mbed_rtx_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtos/TARGET_CORTEX/mbed_rtx_conf.h b/rtos/TARGET_CORTEX/mbed_rtx_conf.h index d652253ba0..c2ad60c537 100644 --- a/rtos/TARGET_CORTEX/mbed_rtx_conf.h +++ b/rtos/TARGET_CORTEX/mbed_rtx_conf.h @@ -47,7 +47,7 @@ #endif // Increase the idle thread stack size when debug is enabled -#if defined(MBED_DEBUG) +#if defined(MBED_DEBUG) || defined(MBED_ALL_STATS_ENABLED) #define EXTRA_IDLE_STACK_DEBUG MBED_CONF_RTOS_IDLE_THREAD_STACK_SIZE_DEBUG_EXTRA #else #define EXTRA_IDLE_STACK_DEBUG 0