2025-11-27 12:50 PM
Hello,
I am trying to use the STM32CUBE RTOS STATE panel within VSCode as opposed to setting a watch variable for xQueueRegistry, but the state panel does not match what is shown in the queue registry. Only the first queue is shown.
Also, I am curious how to get Semaphores to show up in the semaphores portion of the tree in the state panel. The semaphores I am using are binary semaphores which under the hood are just generic queues.
2025-12-08 5:46 AM
Hello,
For the Semaphores that are just generic queues, I would say it is normal to not see them as Semaphores.
But why we don't see all the Queues, I don't know.
I remember that we had an issue to list the registry queue.
Do you have a msg in console debug log like "Missing symbol: xQueueRegistrySize." ?
In order for RTOS_proxy to return objects (Semaphores and Queues) from the queue registry, your application must have this code :
uint32_t xQueueRegistrySize = configQUEUE_REGISTRY_SIZE;
Check that the code is not optimized because variable not used.
I had to add this line in the appli code :
uint32_t temp = xQueueRegistrySize;
The first line was added in global and this one in main.
Can you try this to see the queues.
Laurent