Is possible to let RTX5 to automatically increase the memory stack
of some thread to avoid stack overflow?
I thought the "global dynamic memory size" in "system
configuracion" was for this, but, the kernel trow an exception
"osRtxErrorStackUnderflow" when the thread reach the default thread
stack size (200 bytes) while the "global dynamic memory size" is set
Of course the thread is atarted with default settings without
There is no automatic way, that I know of, unless thread is using
default stack size.
Default stack size can be configured from RTOS' main configuration
To find troublesome thread, refer to the following knowledgebase
Then consider giving the thread a custom (larger) stack size when
it is defined.
See "Create thread with stack non-default stack size" at the
I written a tool for STM32 thet try to do that, using --info=stack linker option.
Take a look on GITHUB
View all questions in Keil forum