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




Loading

M52235DEMO compile problem

Posted by caio reia on May 4, 2010
Hi everybody

I`m having a problem with the Freescale M52235DEMO compilation.

I followed the port http://www.freertos.org/index.html?http://www.freertos.org/MCF52233-RTOS-Demo-With-WEB-Server-Using-GCC-and-Eclipse.html

And the followed the pdf documentation.
http://www.cambridgeimaging.co.uk/downloads/Coldfire%20IDE.pdf

so I went to Freescale`s forum and then here, but I couldn`t find the solution.

I use a windows 7 and tried in another computer using XP.

I`m using CDT debug tool.

The problem appears when I build all and the following error comes out.

cs-make all
m68k-elf-gcc -I./webserver -I"./../../Common/ethernet/FreeRTOS-uIP" -I"./../../../Source/include" -I"include" -I"./../../Common/Minimal/../include" -I"./../../../Source/portable/GCC/ColdFire_V2" -I./MCF5223x -I. -D COLDFIRE_V2_GCC -D PACK_STRUCT_END=__attribute\(\(packed\)\) -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) -O0 -D bktPRIMARY_PRIORITY=4 -D bktSECONDARY_PRIORITY=3 -fno-strict-aliasing -g3 -gdwarf-2 -Wall -Wextra -c -ffunction-sections -fdata-sections -fmessage-length=0 -funsigned-char -Wextra -mcpu=52235 -MMD -MP -MF"bin/FEC.d" -MT"bin/FEC.d"-o"bin/FEC.o" "./webserver/FEC.c"
In file included from ./webserver/FEC.c:66:
./../../Common/ethernet/FreeRTOS-uIP/uip.h:1429: error: stray '\' in program

So seems to me it`s calling the right tools ( cs-make and m68k-elf-gcc ).

I would really appreciate any help.

Thanks in advance.

RE: M52235DEMO compile problem

Posted by Richard on May 7, 2010
I just tried building the demo with a clean install of both FreeRTOS and M68K-elf-gcc, and it build without any errors. Are you using Windows or Linux as the host? (I used Windows).

I did get some warnings about missing initialisers in the C structs that hold the web page html, although not ideal these can be ignored. Also, I only compiled the code, I didn't try actually running it.

Regards.

RE: M52235DEMO compile problem

Posted by caio reia on May 7, 2010
hy,

I`m using Windows. I tried in two different computers. One in W7 and other in XP SP3.

Are you using the latter Eclipse? The version I just downloaded is different from the port steps dialogs.

Do you know if there are books that covers this demo board to freertos? or newer documentation?

thanks .

RE: M52235DEMO compile problem

Posted by Eduardo LoPresti on June 16, 2010
The make file has the following substitution :

PACK_STRUCT_END=__attribute\(\(packed\)\) -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\)

I didn't get a chance to find out why the make file substitution didn't work for PACK_STRUCT_END, I changed in the code all instances of PACK_STRUCT_END to __attribute((packed))


[ 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