Skip to content

Commit a1e1eff

Browse files
author
Mohammad Azim Khan
committed
Increasing stack size for coverage builds
1 parent 5651b9b commit a1e1eff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rtos/rtx/TARGET_CORTEX_M/cmsis_os.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,12 @@
8888
#if defined(TARGET_XDOT_L151CC)
8989
#define DEFAULT_STACK_SIZE (WORDS_STACK_SIZE/2)
9090
#else
91+
#if defined (MBED_CFG_DEBUG_OPTIONS_COVERAGE)
92+
#define DEFAULT_STACK_SIZE (WORDS_STACK_SIZE*4*16)
93+
#else
9194
#define DEFAULT_STACK_SIZE (WORDS_STACK_SIZE*4)
9295
#endif
96+
#endif
9397

9498
#define osCMSIS 0x10002U ///< CMSIS-RTOS API version (main [31:16] .sub [15:0])
9599

0 commit comments

Comments
 (0)