traceTIMER_CREATE

michaeln32 wrote on Tuesday, June 19, 2018:

Hi

Can you please tell me for what is the define traceTIMER_CREATE() ?

Is it empty now ?

Is it for the user implementation ?

Thank you

Michael

rtel wrote on Tuesday, June 19, 2018:

Yes, for user definition. They allow you to add code into the kernel
without needing to edit the source files. Most commonly used for
tracing - the FreeRTOS+Trace tool generates all its data from trace
macros. This list is out of date:
https://www.freertos.org/rtos-trace-macros.html

michaeln32 wrote on Tuesday, June 19, 2018:

Ok Richard

Thank you

michaeln32 wrote on Tuesday, June 19, 2018:

In which filed should I write the implementation of those functions ?

For example - should I write the implementation of traceTIMER_COMMAND_SEND() in timers.c ?

rtel wrote on Tuesday, June 19, 2018:

The page I just linked to describes where to define them.