Hello,
Recently the feature of debug various RTOS-s was added to the OpenOCD. However it is unclear how to do it. The manual provides only info that I should provide following argument -rtos rtos type (where rtos type is FreeRTOS for me) to OpenOCD to enable RTOS recognition, but for newbie user like me it is unclear where I should insert this line. I have OpenOCD 0.7.0 configurated with Eclipse Juno SR2 on Windows 7 and I am using ST-Link v2 to program STM32F103.
I tried to follow the only manual that I have found for http://www.chibios.org/dokuwiki/doku.ph … cd_chibios but it is done for Linux so I tried to insert the line which enable the RTOS recognition in OpenOCD to External Tools Configurations / Main / Arguments
-c “${stm32f1x_stlink} configure -rtos auto”
or
-c “${stm32f1x} configure -rtos auto”
as advised in the forum but it gives the error:
Reference to undefined variable stm32f1x_stlink
I am waiting for every suggestion
PS.
Normal debugging works perfectly. I would like to configurate OpenOCD to display the state of all tasks in the system not only running one.