Download uC/Trace User`s Manual - Doc
Transcript
Chapter 2 2-1-4 CONFIGURE YOUR COMPILER’S INCLUDE PATHS Configure your compiler’s include paths with the following: $\Micrium\Software\uC-Trace\Source $\Micrium\Software\uC-Trace\Recorders\Percepio $\Micrium\Software\uC-Trace\Recorders\Percepio\OS\uCOS-III $\Micrium\Software\uC-Trace\Recorders\Percepio\TraceRecorderLibrary $\Micrium\Software\uC-Trace\Recorders\Percepio\TraceRecorderLibrary\Cfg $\Micrium\Software\uC-Trace\Recorders\Percepio\TraceRecorderLibrary\Include $\Micrium\Software\uC-Trace\Recorders\Percepio\TraceRecorderLibrary\KernelPorts\uCOS-III 2-2 INCLUDING HEADER FILES Additionally, each C file that makes use of μC/Trace, whether it is for Initialization or Instrumentation purposes (i.e. app.c), needs to include the following header files by using the preprocessing directive #include: #include #include "trace.h" "trace_cfg.h" Listing 2-1 Including μC/Trace header files 14