cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CUBE RTOS STATE NOT RUNNING

istery
Visitor

I used the STM32CUBE FOR VSCODE preview version and enabled FreeRTOS in STM32CUBEMX. However, during the debugging process, the STM32CUBE RTOS STATE is empty and does not display any content, even when the program is paused.

istery_0-1756812591341.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Florent V
ST Employee

Hi Istery,

To enable the RTOS state view during debugging, you need to add the "serverRtos" attribute to your debug configuration. For example, for FreeRTOS:

"serverRtos": {
    "enabled": true,
    "port": "60000",
    "driver": "freertos"
},

 

BR,

/Flo

View solution in original post

3 REPLIES 3
Florent V
ST Employee

Hi Istery,

To enable the RTOS state view during debugging, you need to add the "serverRtos" attribute to your debug configuration. For example, for FreeRTOS:

"serverRtos": {
    "enabled": true,
    "port": "60000",
    "driver": "freertos"
},

 

BR,

/Flo

istery_0-1756814567493.png

Thank you for your response! It really worked! However, now the Task name cannot be displayed directly under the Tasks label; it needs to be expanded to be visible. Is there a solution to this problem?

No, for now, the nodes need to be expanded to see the task name.
But thanks for the feedback; we are adding this to our roadmap.

KR,

/Flo