FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [October 2005 Threads] Strange error when compiling FreeRTOS on ADUCPosted by Nobody/Anonymous on 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
RE: Strange error when compiling FreeRTOS on ADUCPosted by Nobody/Anonymous on October 26, 2005 It is very bad to include processor header files in more than one file. It should only be introduced in ConfigFreeRTOS.h
That was the cause of my problem
Best regards
-Emeric
RE: Strange error when compiling FreeRTOS on ADUCPosted by Richard on October 26, 2005 Each port contains a preprocessor macro that specifies which port layer header files to include. The error from your original thread is indicative of the header file being included without the macro being defined - which in turn is indicative of exactly the cause you have described.
Let us know how your port progresses.
Regards.
RE: Strange error when compiling FreeRTOS on ADUCPosted by Nobody/Anonymous on November 3, 2005 Hello, I have successfuly port FreeRTOS on ADUC7026. Some files of LPC21xx habe been modified to match with the interrupt system of ADUC7026, which is different of the LPC21xx one.
best regards
Emeric
RE: Strange error when compiling FreeRTOS on ADUCPosted by Nobody/Anonymous on November 4, 2005 Cool, maybe Richard will inlude it on the FreeRTOS site?
RE: Strange error when compiling FreeRTOS on ADUCPosted by Richard on November 9, 2005 Hi,
Could you send me a zip file, or a link? Use the email address from the FreeRTOS.org WEB site contact page (r dot barry ATAT free ........... org ).
Thanks!
RE: Strange error when compiling FreeRTOS on Posted by dolphin on April 3, 2008 Hello all
Has anyone succeeded in porting FreeRTOS to ADuC702x series of microcontrollers from ADI? Can I get, even an incomplete port, on which I can build?
Any suggestion, pointers?
Thank you very much
Jason
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|