2022-11-30 11:00 AM
I'm working with the "NUCLEO-U575ZI-Q" development board and I compile using STM32CubeIDE 1.6.1. My project uses FreeRTOS and if I debug my project and halt execution, then I can see the currently executing thread's stack trace in the upper left part of STM32CubeIDE and the current line of code of execution is highlighted. Is there a way to someone (not necessarily inside STM32CubeIDE) show the stack traces of all threads? And, as a bonus, is it possible to show/highlight the lines of code that each thread last executed on?
Solved! Go to Solution.
2022-12-01 03:09 AM
Hello @arnold_w,
In cube 1.7.0 and the later versions you have the features that you need, and you have to enable it in the debug configuration.
Maybe those two screenshots could help you:
wijeden,
2022-12-01 01:13 AM
Hi @arnold_w,
I assume that this post done by @mattias norlander will help you: RTOS debug with STM32CubeIDE.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2022-12-01 03:09 AM
Hello @arnold_w,
In cube 1.7.0 and the later versions you have the features that you need, and you have to enable it in the debug configuration.
Maybe those two screenshots could help you:
wijeden,
2023-03-29 09:10 AM
Maybe I should’ve worded the original question:
“I want to change the path for where the STM32CubeIDE writes the source code files generated when the .ioc file changes and new source code is generated. “
I am working on a project based on an SDK Example, and we are adding in new middleware components. Because of this, I are writing code, and then regenerating the BSP (initialization code) mid-project by changing the ioc file when new components are added.
The problem is, in the meantime, the project ‘folder tree’ has been restructured, so the “Core�? folder where the source is generated to, no longer exists.
I expect that changing this ‘output path’ should be possible.
However, the User Manual here:
Section 6 : STM32CubeMX C Code generation overview
… doesn’t seem to clearly explain how to do this.
2023-03-29 12:34 PM
@SS13 Please create a new thread. Can admins help to move?