rtel wrote on Sunday, May 17, 2009:
"Each FreeRTOS project includes a header file called FreeRTOSConfig.h, in which various FreeRTOS options can be configured. Configuration options relevant to using the IAR State Viewer plug-in include configQUEUE_REGISTRY_SIZE and configUSE_TRACE_FACILITY.
If the version of FreeRTOS being used is older than version 5.2.0 then configUSE_TRACE_FACILITY must be set to 1. In all other cases configUSE_TRACE_FACILITY has no impact on the plug-in functionality.
FreeRTOS includes a ‘queue registry’ feature. After a queue or semaphore has been created it can optionally be added to the queue registry using the FreeRTOS vQueueAddToRegistry() API function. The plug-in will only display queues and semaphores that have been added to the registry. The number of places available in the queue registry is configured at compile time using configQUEUE_REGISTRY_SIZE. For example, to allow up to 10 queues and semaphores to be registered set configQUEUE_REGISTRY_SIZE to 10. If configQUEUE_REGISTRY_SIZE is not included in FreeRTOSConfig.h then vQueueAddToRegistry() will have no effect and the plug-in will not display any queue or semaphore information."