Quality RTOS & Embedded Software

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


Loading

M52235DEMO compile problem II

Posted by Julio Sanchez on March 29, 2012
Thanks Barry!
#define PACK_STRUCT_END __attribute((packed)) I recompile the code (I use FreeRTOS v.7.1.0), the result was, 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\)\) \ -o"bin/main.o" "main.c" C:\DOCUME~1\NORA\CONFIG~1\Temp\ccElR8fc.s: Assembler messages: C:\DOCUME~1\NORA\CONFIG~1\Temp\ccElR8fc.s:207: Error: operands mismatch -- statement `movec %d0,%FLASHBAR' ignored cs-make: *** [bin/main.o] Error 1

I have the same problem that 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.
Caro Reaia

RichardBarry says:
It seems to be complaining about something defined in the PACK_STRUCT_END macro. Can you right click on PACK_STRUCT_END on the line you highlight in your post, and select "go to definition" from the pop up menu, to see the code that is being substituted for the macro, then post it here. Thanks. Regards.

RE: M52235DEMO compile problem II

Posted by Richard on March 29, 2012
Sorry - it is not clear from the post - is the PACK_STRUCT_END issue now resolved. It appears there is a new issue regarding the "movec %d0,%FLASHBAR" instruction.

Regards.


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


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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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

Xilinx Microblaze and Zynq partner