Error Message: CMSIS-RTOS error: Stack overflow

When I burn the program in stm32f407vet6, the program error is as follows
++ MbedOS Error Info ++
Error Status: 0x80020125 Code: 293 Module: 2
Error Message: CMSIS-RTOS error: Stack overflow
Location: 0x80270B7
Error Value: 0x1
Current Thread: main Id: 0x20008F28 Entry: 0x8025249 StackSize: 0x1000 StackMem: 0x200054B8 SP: 0x2001FF4C
For more info, visit:
– MbedOS Error Info –

The compilation result is "Program Size: Code=197168 RO-data=14912 RW-data=384 ZI-data=40176 "
and Up to 192+4 Kbytes of SRAM including 64-Kbyte of CCM (core coupled memory) dataRAM

so i chang the MBED_CONF_TARGET_BOOT_STACK_SIZE in mbed_config.h ,but in didn’t help.I would like to know how can i solve the problem.


probably first necessary information. In the mbed_config.h on lines 18-19

// Automatically generated configuration file.
// DO NOT EDIT, content will be overwritten.

Maybe here you will find some useful info

BR, Jan