nobody wrote on Wednesday, October 26, 2005:
Hello,
I have ported FreeRTOS on ADUC7026 and want to create a task taht would launch a kind of Virtual machine for communication with bluetooth (abscp protocol).
I use the KEIL debugger as IDE.
As i compile my code i allways have an error with the stacktrace as listed at the end of this Thread.
When compiling my file abcsp_example.c, the compiler does not reconize the type pdTaskCode.
i have ensure myself that pdTaskCode have been defined.
Hier is a part of the trace:
++++++++++++++++++++++++++++++++++++++
compiling abcsp_example.c…
…\…\SOURCE\INCLUDE\PORTABLE.H(132): error C25: syntax error near ‘pxCode’
++++++++++++++++++++++++++++++++++++++
in PORTABLE.H(132) you can read this:
portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE pxCode, void *pvParameters );
Could someone help me?
Hier is the whole Stacktrace:
compiling abcsp_example.c…
…\…\SOURCE\INCLUDE\PORTABLE.H(132): error C25: syntax error near ‘pxCode’
And hier is the whole Stacktrace.
compiling main.c…
compiling tasks.c…
compiling queue.c…
compiling list.c…
compiling portISR.c…
compiling port.c…
compiling heap_2.c…
compiling LEDs.c…
LEDS.C(52): warning C47: ‘pvParameters’: unreferenced parameter
LEDS.C(62): warning C47: ‘pvParameters’: unreferenced parameter
compiling abcsp_example.c…
…\…\SOURCE\INCLUDE\PORTABLE.H(132): error C25: syntax error near ‘pxCode’
…\…\SOURCE\INCLUDE\PORTABLE.H(137): error C25: syntax error near ‘xSize’
compiling txslip.c…
compiling txrx.c…
compiling txmsg.c…
compiling rxslip.c…
compiling rxmsgdemux.c…
compiling rxmsg.c…
compiling rxbcsp.c…
compiling le.c…
compiling crc.c…
compiling ADuC_SysOperation.c…
…\…\SOURCE\INCLUDE\PORTABLE.H(132): error C25: syntax error near ‘pxCode’
…\…\SOURCE\INCLUDE\PORTABLE.H(137): error C25: syntax error near ‘xSize’
TASKS\ADUC_SYSOPERATION.C(19): warning C47: ‘buf’: unreferenced parameter
TASKS\ADUC_SYSOPERATION.C(19): warning C47: ‘rel’: unreferenced parameter
Best regards
-Emeric