cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE debug FreeRTOS queues

sute
Associate III

I am trying to view and debug the queues in my FreeRTOS project. To do this, I have to add the queues to registry with vQueueAddToRegistry. However, vQueueAddToRegistry takes an argument to a QueueHandle_t and in the project generated with STM32CubeMX I only have queue handles with the type osMessageQueueId_t. How do I get a QueueHandle_t that can be added to registry?

1 ACCEPTED SOLUTION

Accepted Solutions
sute
Associate III

Figured this out that I can just do a type cast and it seems the queues are already in the registry as long as the registry size is configured to be big enough in CubeMX.

View solution in original post

1 REPLY 1
sute
Associate III

Figured this out that I can just do a type cast and it seems the queues are already in the registry as long as the registry size is configured to be big enough in CubeMX.