Initializing the TraceAlyzer Snapshot Recorder
Initialize the TraceAlyzer Snapshot Recorder anywhere after the BSP has been initialized.
The code below shows an example where it gets initialized from the Startup task:
Next Step
...
Code Block | ||
---|---|---|
| ||
#include <os_trace.h>
.
.
.
int main(void)
{
OS_ERR os_err;
BSP_Init(); /* Initialize BSP functions */
.
.
.
OS_TRACE_INIT(); /* Initialize the uC/OS-III Trace recorder. */
.
.
.
} |