can not add trace function to FreeRTOSConfig.h
Posted: Sun Aug 15, 2021 12:16 am
Hello,
I copied the freeRTOS into my project and I compiled my code properly and once I tried to add some tracing functions
extern void PROBE_vTraceHeap(void * pvAddress, size_t uiSize);
#define traceMALLOC(pvAddress, uiSize ) PROBE_vTraceHeap(pvAddress, uiSize)
to FreeRTOSConfig.h, i get Error: unknown opcode or format name 'extern'
and if I removed the 'extern', i will get the same error but for the void.
Please advise!
I copied the freeRTOS into my project and I compiled my code properly and once I tried to add some tracing functions
extern void PROBE_vTraceHeap(void * pvAddress, size_t uiSize);
#define traceMALLOC(pvAddress, uiSize ) PROBE_vTraceHeap(pvAddress, uiSize)
to FreeRTOSConfig.h, i get Error: unknown opcode or format name 'extern'
and if I removed the 'extern', i will get the same error but for the void.
Please advise!