Quality RTOS & Embedded Software

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


Compiling errors for Freertos+lwIP+Keil

Posted by Bill Yang on February 13, 2010

I got the demo from Richard, which is FreeRTOSLwipexemplo1 that was compiled by G++ or Linux whatever. Now I tried to compile it by Keil's RVMDK under FreeRTOS v5..4.2. demo Cortex_LM3Sxxxx_Keil_IAR. Basically, I just copy these source code to Freertos and got some compiling errors. Some of these errors I have fixed already. However, some of these I am not familiar with and don't have ideal how to fix. Below are these error logs. I wonder if some one can help me to figure out what is wrong.

compiling ETHIsr.c...
compiling LWIPStack.c...
..\Common\ethernet\lwip-1.3.0\contrib\port\FreeRTOS\LM3S\arch/sys_arch.h(62): warning: #1295-D: Deprecated declaration sys_set_default_state - give arg types
LWIPStack.c(109): warning: #192-D: unrecognized character escape sequence
LWIPStack.c(548): error: #268: declaration may not appear after executable statement in block
LWIPStack.c(630): warning: #223-D: function "httpd_init" declared implicitly
compiling rit128x96x4.c...
compiling osram128x64x4.c...
compiling tasks.c...
..\..\Source\tasks.c(1521): warning: #223-D: function "GPIOPinWrite" declared implicitly
..\..\Source\tasks.c(1521): error: #20: identifier "GPIO_PORTD_BASE" is undefined
..\..\Source\tasks.c(1521): error: #20: identifier "GPIO_PIN_7" is undefined
compiling list.c...


RE: Compiling errors for Freertos+lwIP+Keil

Posted by Richard on February 14, 2010
With respect, these are not really FreeRTOS questions, just problems you are having compiling your own program. Also, if somebody was generous to assist in clearing the errors then they would have to have access to your complete source code to see which lines the errors relate to. Other errors (like the GPIO_nnn lines) just require a bit of time spent looking for the Keil equivalents.


RE: Compiling errors for Freertos+lwIP+Keil

Posted by Bill Yang on February 15, 2010
Thank you, Richard.

I fixed most compiling errors. But the warming message "Deprecated declaration sys_set_default_state-give arg types" is really bother me. I could not figure out what is wrong and how. I think this may have to go to lwIP community to get help. I will post it to lwIP forum.

I wonder if any one knew this warning message and how to correct.


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

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists