Initializing TraceAlyzer (Streaming Mode)
Initializing the TraceAlyzer Streaming Recorder
Initialize the TraceAlyzer Streaming Recorder anywhere after the BSP has been initialized and after µC/OS-III has been started.
The code below shows an example where it gets initialized from the Startup task:
Initializing the TraceAlyzer Streaming Recorder
#include <os_trace.h> . . . static void AppTaskStart (void *p_arg) { OS_ERR os_err; BSP_Init(); /* Initialize BSP functions */ CPU_Init(); /* Initialize the uC/CPU services */ . . . OS_TRACE_INIT(); /* Initialize the uC/OS-III Trace recorder. */ . . . }