I am trying to measure the run time statistics for thread running in FreeRTOS for MiMXRT1064-EVK board. I found this information for other board and it was mentioned that calculation differs with respect to #cpuport/board.
Could you help me how to do this for my board?
Solved! Go to Solution.
I tried following your tutorial and found the definitions given below.
#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() McuRTOS_AppConfigureTimerForRuntimeStats()
#define portGET_RUN_TIME_COUNTER_VALUE() McuRTOS_AppGetRuntimeCounterValueFromISR()
Are they the internal APIs? But the APIs and definitions being used are not available for me.
Could you please clarify me on the above mentioned items in terms of NXP MCUXpresso SDK?
They are not part of the FreeRTOS delivered with the SDK (it does not support the Systick as performance counter): you can ignore these as you can use the timer. You still need to configure the timer (of course).
I followed the tutorial but I am unable to setup as my device does not have
the timer/driver mentioned. Could you help me how to do the same with
hardware available in my board?
You could use a different timer such as Quad Timer (TMR) instead. There are some examples included I our SDK that could help you to understand the basic configuration.