I tried to use them by creating a custom FreeRTOSConfig.h:
Code: Select all
#include_next "freertos/FreeRTOSConfig.h"
#ifdef __cplusplus
extern "C" {
#endif
void vTaskSwitchedIn(void *pxTCB);
void vTaskSwitchedOut(void *pxTCB);
#ifdef __cplusplus
}
#endif
#define traceTASK_SWITCHED_IN() vTaskSwitchedIn(pxCurrentTCB)
#define traceTASK_SWITCHED_OUT() vTaskSwitchedOut(pxCurrentTCB)Adding #define configUSE_TRACE_FACILITY 1 doesn't make a difference either.
Is this possible in Arduino?