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

error build ARM7_LPC2368_Eclipse

Posted by Damianus Sigit on October 7, 2009
Hi all,

Recently, I try to build ARM7_LPC2368_Eclipse project using Eclipse+Yagarto and

found this error message :

error: no memory region specified for loadable section `.eh_frame'

In Yagarto's site, it's said that I have to add following part to linker file

lpc2368.ld :

. = ALIGN(4);
.eh_frame :
{
KEEP (*(.eh_frame))
} > ram


but the problem is, I'm not really sure where exactly should I put it in my

lpc2368.ld file. So, I take my chances by put it somewhere in SECTIONS { } part

of the file and got this error messages :

c:/program files/yagarto/bin/../lib/gcc/arm-elf/4.4.1/../../../../arm-

elf/bin/ld.exe: RTOSDemo.elf section .eh_frame will not fit in region ram
c:/program files/yagarto/bin/../lib/gcc/arm-elf/4.4.1/../../../../arm-

elf/bin/ld.exe: region ram overflowed by 7200 bytes
collect2: ld returned 1 exit status
make: *** [RTOSDemo.elf] Error 1


Can anyone help me? Thank you.

RE: error build ARM7_LPC2368_Eclipse

Posted by Richard on October 7, 2009
The problem is the new version of GCC that the latest version of Yagarto uses. Take the makefile and linker script out of the SVN repository (FreeRTOS V6.0.0) and you should find it compiles fine, although I have not tried actually running with the changes.

Also be aware that the version of binutils used has problems with ARM/THUMB interworking. I would stick to ARM mode until it is fixed in GCC.

Regards.

RE: error build ARM7_LPC2368_Eclipse

Posted by Damianus Sigit on October 9, 2009
Thanks a lot... it works now.


[ 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