Including SystemView

Including the SystemView Trace Recorder Files

Beginning with v3.06.00, µC/OS-III includes the Trace Recorder code from SEGGER SystemView with support for ARM Cortex-M and Renesas RX devices (other CPUs can be ported on request).

To include this Trace recorder in your project simply include the entire SystemView folder as illustrated in the image below.

The files in this folder can be described as follows:

(1) The configuration file template to configure the most typical application level settings.

(2) The interface between µC/OS-III instrumentation and SEGGER SystemView.

(3) The configuration file templates to configure the RTT channel and SystemView settings.

(4) The SystemView port for µC/OS-III.

(5) The configuration file template to configure platform related settings that are usually set once.

(6) The SystemView code that implements the trace recorder and the communication channel via RTT.

Note:  In case you want to get the latest recorder code with potentially support for more CPUs, you can download the code directly from SEGGER at https://www.segger.com/systemview.html and extract the contents to the folder uCOS-III/Trace/SystemView/ThirdPartyLibrary

Configuring the Compiler's Include Paths

Configure your compiler with the following include paths:

$/Micrium/Software/uCOS-III/Trace/SystemView/Cfg/Template
$/Micrium/Software/uCOS-III/Trace/SystemView/Source
$/Micrium/Software/uCOS-III/Trace/SystemView/ThirdPartyLibrary/Config  
$/Micrium/Software/uCOS-III/Trace/SystemView/ThirdPartyLibrary/SEGGER

Including header files

From the application level code where you intend to initialize the Trace Recorder insert the following line of code:

#include  <os_trace.h>

Next Step

Configuring the Trace Recorder