Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The code below shows an example where it gets initialized from the Startup task:

Code Block
titleInitializint The SystemView Trace 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.             */ 
    .
    .
    .
}

Next Step

Starting SystemView