CMSIS: RTOS: Execution hangs in while loop inside osRTXThreadListPut()
Information in this knowledgebase article applies to:
My application originally used CMSIS RTOS RTX. Now, in migrating to CMSIS RTOSv2 API and RTX 5 for new features, I also want to maintain an earlier code base.
By keeping the include to "cmsis_os.h", threads can be declared the same way as in the earlier CMSIS RTX. However, my application hangs in a while loop inside a function called "osRTXThreadListPut()".
New RTX_Config.h has not been setup like the original RTOS.
In the project window, go to the file "RTX_Config.h". Under the section "Thread Configuration", enable "Object specific memory allocation" to setup thread specific memory allocation. Many applications will require this option. Then modify the area below to match the original RTX's configuration file, "RTX_Conf_CM.c". The idle thread's stack size can also be specified in this section.
Last Reviewed: Wednesday, April 12, 2017
of your data.