2020-12-16 11:36 PM
Hello,
I the recent publications (https://blog.st.com/stm32cube-ecosystem/) about the new released version of the CubeIDE I can see that ST added support for FreeRTOS thread-aware debugging and this is great, but I can't find any documentation about it and how do I use it.
Can you please point me to where I can find such documentation?
Thanks
2020-12-22 05:10 AM
Difference for debugger config:
This is STM32CubeIDE
Version: 1.5.1
Build: 9029_20201210_1234 (UTC)
As for Startup - I was asking about sentence on page 119:
When [Thread-aware RTOS support] is used, update the Startup tab: disable [Resume] and [in Run Commands], add thread 2 and continue. This forces a thread context switch before the continue command is sent.
2020-12-22 07:00 AM
I see. The left screen shot does not show the drop-down list because the other (SEGGER) RTOS seems not to be supported, so there is no choice. FreeRTOS views work anyway.
The second point concerns the the Startup tab for the debugger configuration. Didn't work for me (ST-LINK). There are blogs about multi-threaded support for gdb + OpenOCD, see here: https://mcuoneclipse.com/2016/04/09/freertos-thread-debugging-with-eclipse-and-openocd/. I'm not using it however.
2020-12-22 10:38 AM
Thank you for hints, and link!