2022-07-08 08:35 AM
This is a FreeRTOS related question. I am using FreeRTOS on the STM32L4S9AII6 MCU.
How do I get access to the source code for the ulTaskGetIdleRunTimeCounter() function? All the IDE allows me to see when I attempt to open the declaration (F3) is this pseudo declaration found in task.h:
uint32_t ulTaskGetIdleRunTimeCounter( void ) PRIVILEGED_FUNCTION;
What a self-absorbed function. This must be proprietary information I guess. I need to know if this function does any blocking or disabling of interrupts. Is there a straightforward way to gather this information?
Solved! Go to Solution.
2022-07-08 12:20 PM
FreeRTOS is completely open source and you can view all it freely in the ST Cube "repository" downloaded on your computer and online..
> Is it safe to call ulTaskGetIdleRunTimeCounter() from vApplicationTickHook()?
It looks like so.
2022-07-08 12:20 PM
FreeRTOS is completely open source and you can view all it freely in the ST Cube "repository" downloaded on your computer and online..
> Is it safe to call ulTaskGetIdleRunTimeCounter() from vApplicationTickHook()?
It looks like so.