I am trying to adjust the PPC405 port of FreeRTOS to the Freescale MPC5516 microcontroller. I am using Codewarrior IDE v5.9.0.
When trying to build the project, there always occours a "declaration syntax error" because of:
portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE pxCode, void *pvParameters )
It seems that it is not possible because of the "portSTACK_TYPE", which is defined in portmacro.h as unsigned long.
In the function "pxPortInitialiseStack" itself I use someting like:
*pxTopOfStack = 0xDEADBEEF;
This also causes an error message "undefined identifier".
I am not very familiar with the CodeWarrior IDE. Can somebody help me?
Thank you very much in advance.