FreeRTOS aware debugging
Hi,
I’m understand that SW4STM32 can debug FreeRTOS with some small modifcation. What are the steps to do so?
I’m using the latest SW4STM32 (1.8.0) and did the following:
- added $_TARGETNAME configure -rtos auto to the .cfg file that the openOCD reads
- added FreeRTOS-openocd.c file to the project
Anything else to do? I’m currently receiving the following error from gdb:
New Remote target
Switching to Remote target
Invalid selected thread.
Thanks.