Skip to content

Commit d9ac33d

Browse files
committed
Increase interrupt stack size for K64F
The config store tests use more than 2K of the interrupt stack, causing an overflow. This patch bumps the K64F interrupt stack size to 4K for ARMCC and GCC. The IAR interrupt stack is left untouched since it is 32K.
1 parent 3587a08 commit d9ac33d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rtos/rtx/TARGET_CORTEX_M/RTX_CM_lib.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,9 @@ extern uint32_t __StackTop[];
426426
#else
427427
#define INITIAL_SP (0x20030000UL)
428428
#endif
429+
#if defined(__CC_ARM) || defined(__GNUC__)
430+
#define ISR_STACK_SIZE (0x1000)
431+
#endif
429432

430433
#elif defined(TARGET_K22F)
431434
#define INITIAL_SP (0x20010000UL)

0 commit comments

Comments
 (0)