Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

Strange error when compiling FreeRTOS on ADUC

Posted 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 ADUC

Posted 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 ADUC

Posted 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 ADUC

Posted 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 ADUC

Posted by Nobody/Anonymous on November 4, 2005
Cool, maybe Richard will inlude it on the FreeRTOS site?

RE: Strange error when compiling FreeRTOS on ADUC

Posted 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


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS