Ashling* RiscFree* Integrated Development Environment (IDE) for Intel® FPGAs User Guide

ID 730783
Date 7/26/2024
Public
Document Table of Contents

5.5. Debugging FreeRTOS Application

When you debug the FreeRTOS application, you can view the number of tasks, task details, and queue list.
To display details of FreeRTOS Task List, enable the macro as below in the FreeRTOSConfig.h.
Note: If you use the FreeRTOS BSP generated from BSP Editor, you do not need to manually configure configUSE_TRACE_FACILITY in FreeRTOSConfig.h. The setting depends on system.h (part of FreeRTOSConfig.h #include), which can be configured using BSP Editor GUI or niosv-bsp command.
Table 8.  FreeRTOS Debug Configuration
Debug Information Macros Configuration Description
Task List configUSE_TRACE_FACILITY 1 To display task number of the project
The configuration is as shown below:
#define configUSE_TRACE_FACILITY 1

To debug FreeRTOS application, follow these steps:

Launch the FreeRTOS application debug.
  • To open the FreeRTOS Task List, go to Window > Show View > Other > FreeRTOS > FreeRTOS Task List.
    Figure 53. FreeRTOS Task List View

    The FreeRTOS Task List shows task details including task name, priority, status, and stack details.

  • To open the FreeRTOS Task List, go to Window > Show View > Other > FreeRTOS > FreeRTOS Task List
    Figure 54. FreeRTOS Queue List View

    The FreeRTOS Queue List View shows details of all events and queues, including tasks related to each event.