I am using RTX 4.70 for a project on Cortex M-3. I have added some
osXXX calls to the core RTX api.
I am finding that if I have 2 threads (in addition to main plus
any timer thread or idle thread) and one is blocked on say an
osDelay(), the other thread bombs when it enters kernel mode via a
svc trap. I am seeing some form of stack smashing. If I increase
OS_TSKCNT from 3 to 4, the problem goes away, but I fear I am
postponing a later stack corruption, and that the extra TSK_CNT
me
↧