I have an application using freeRTOS xilinx microblaze port. I just tried to enable run time stats but I am getting errors about defining portGET_RUN_TIME_COUNTER_VALUE & portCONFIGURE_TIMER_FOR_RUN_TIME_STATS even though I DO have them defined in my main file as shown below
extern XTmrCtr xTickTimerInstance; #define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() dummy() #define portGET_RUN_TIME_COUNTER_VALUE() XTmrCtr_GetValue(&xTickTimerInstance, 1UL)
I have had this feature working on other ports and I am doing the same exact thing. I am not sure why I am getting these errors. Any thoughts?
BTW I have a dumy function for portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() because the run timer counter in this port is setup in vApplicationSetupTimerInterrupt when the tick counter is initialized so I believe no additional setup is needed.