Can't work on CubeIDE, but can work on MDK
I want to use ThreadX and a Command-Line called letter-shell with CubeIDE, used a uart lib(lwrb) but changed it to HAL, but it will crash when send an costum command. Send string is "func 123 "hello word"".

Here are a few of the ways I've tried:
First, it works well without ThreadX when using CubeIDE, still used a uart lib(lwrb) but changed it to HAL. Here is the repository(link).

Second, I tried porting the program to MDK, everything is same but compiler. The project of CubeIDE and MDK are both in this repository(link).
Third, I increased the heap and stack when using CubeIDE and ThreadX, it does not work.
/* Entry Point */
ENTRY(Reset_Handler)
/* Highest address of the user mode stack */
_estack = ORIGIN(RAM) + LENGTH(RAM); /* end of RAM */
/* Generate a link error if heap and stack don't fit into RAM */
_Min_Heap_Size = 0x800; /* required amount of heap */
_Min_Stack_Size = 0x1000; /* required amount of stack */
It's very strange, the question is not letter-shell, because it works well when not using ThreadX. I was bothered by this issue for more than two weeks.
Hopes for your reply.
BR
