Hi everybody,
I’m new at Freertos and I wanted to try it. I’m using mplab and a custom board with an PIC18f452. My first compile with mcc18 fails with the following error : Executing: “I:\mcc18\bin\mcc18.exe” -p=18F452 “tasks.c” -fo=“tasks.o” /i"I:\mcc18\h" /i"M:\FreeRTOS\demo\common\include" /i"M:\FreeRTOS\source\include" /i"M:\FreeRTOS\source\portable\mplab\PIC18F" /i"M:\FreeRTOS\demo\PIC18_MPLAB" -w3 -DMPLAB_PIC18F_PORT -Ls -Opa-
M:\FreeRTOS\Source\tasks.c:176:Fatal [100] -internal- unhandled opcode in constant expression
Error executing I:\mcc18\bin\mcc18-traditional [error=1]
Halting build on first failure as requested.
The source line concerned in tasks.c is as follows :
static volatile xListpxReadyTasksLists[configMAX_PRIORITIES]; /*< Prioratised ready tasks. */
If someone has already faced the same problem or any idea please help.
thanks in advance.