choarf
(Christian)
February 17, 2022, 2:48pm
1
HI
I just download the demo in eclipse and once trying to compile this is what I get
D:\FreeRTOS\FreeRTOS\Demo\WIN32-MingW/FreeRTOSConfig.h:156:26: fatal error: trcRecorder.h: No such file or directory
#include “trcRecorder.h”*
Can someone help me
thanks
Christian
RAc
February 17, 2022, 3:40pm
2
looks like your code sample assumes tracealyzer. You will need to download that from percepios site or choose a different code sample…
aggarg
(Gaurav Aggarwal)
February 17, 2022, 7:21pm
3
Where did you download the project from? If you cloned the FreeRTOS/FreeRTOS repository, Percepio’s tracelyzer recorder library is in the repo - FreeRTOS/FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace at main · FreeRTOS/FreeRTOS · GitHub
rtel
(Richard Barry)
February 17, 2022, 11:52pm
4
Did you make sure “copy project into workspace” was not checked when you imported the project into Eclipse?
I just tried building a clean copy of the project and was successful, albeit with the following warning:
..\..\..\Source\portable\MSVC-MingW\port.c: In function 'pxPortInitialiseStack':
..\..\..\Source\portable\MSVC-MingW\port.c:249:60: warning: cast between incompatible function types from 'TaskFunction_t' {aka 'void (*)(void *)'} to 'DWORD (__attribute__((stdcall)) *)(void *)' [-Wcast-function-type]
249 | pxThreadState->pvThread = CreateThread( NULL, xStackSize, ( LPTHREAD_START_ROUTINE ) pxCode, pvParameters, CREATE_SUSPENDED | STACK_SIZE_PARAM_IS_A_RESERVATION, NULL );
|