How do I set custom names for queues (and other kernel objects), instead of the default names (“Queue #1” etc.)

>>How do I set custom names for queues (and other kernel objects), instead of the default names (“Queue #1” etc.)

Use vTraceSetQueueName, vTraceSetSemaphoreName or vTraceSetMutexName, as in the below example:

actuatorQ = xQueueCreate(3, sizeof(QueueMessage) );
if (actuatorQ != NULL)
{
    vTraceSetQueueName(actuatorQ, "ActuatorQueue"); // Set the name
    ...
}
else
{
    ... // Error handling
}            
2016-11-08T22:16:48+00:00October 14th, 2013|Categories: FAQ|Tags: , , |

Leave A Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.