Skip to main content
sute
Associate III
October 25, 2023
Solved

STM32CubeIDE debug FreeRTOS queues

  • October 25, 2023
  • 1 reply
  • 2307 views

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?

This topic has been closed for replies.
Best answer by sute

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.

1 reply

sute
suteAuthorBest answer
Associate III
October 25, 2023

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.