![]() Other start options for xTraceEnable are described in trcRecorder.h.įor hardware ports that uses the same time source as FreeRTOS tick interrupt (for example the hardware port for Pic32/24 and Cortex-A9) xTraceInitialize() needs to be called in the main function before any RTOS objects are created. Optionally, xTraceInitialize() can be used to only initialize the trace system and then xTraceEnable() can be used later when appropriate. This must be done after the initial hardware setup, but before any RTOS objects (tasks etc.) have been created. Call xTraceEnable(TRC_START) in your main function to initialize and start the recorder. ![]() */ /* IAR Embedded Workbench */ #ifndef _IASMARM_ #if ( configUSE_TRACE_FACILITY = 1 ) #include "trcRecorder.h" #endif #endif /* Microchip MPLAB X IDE */ #ifndef _LANGUAGE_ASSEMBLY #if ( configUSE_TRACE_FACILITY = 1 ) #include "trcRecorder.h" #endif #endifĪn example of the include of trcRecorder.h ¶Ħ. h is also included from some FreeRTOS assembly files, depending on your IDEs you may need to use a conditional include, like in the examples below. ![]() ![]() * Integrates the Tracealyzer recorder with FreeRTOS */ #if ( configUSE_TRACE_FACILITY = 1 ) #include "trcRecorder.h" #endif /* Note : Since FreeRTOSConfig. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |