[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] question about setting section sizes for linking
From: |
bad address |
Subject: |
[avr-libc-dev] question about setting section sizes for linking |
Date: |
Wed, 21 Feb 2007 11:30:25 -0800 (PST) |
Hello,
we are building a avr application. We are trying to
build our application with some home grown makefiles
which were not generated by avr studio. When we get to
the link phase we get the following errors which i
think are due to some error in defining some text
ranges. We are building for the AtMega325.
I dont believe the size is the problem as i have run
avr-size on all the modules and the total is under 27K
bytes. Can anyone point me in the right direction on
how to describe the linker commands?
Thanks SS
vr-gcc -Wl,-section-start=.bootloader=0x7800 adc.o
handheld.o keyboard.o led.o ports.o
zw_serialapi_extended.o sleep.o timers.o uart_hw.o
uart_hw_switch.o ../vwave/car_boot/car_boot.a
../../wave/controller/car_wavelib.a -o car
C:\WinAVR\bin\..\lib\gcc\avr\3.4.6\..\..\..\..\avr\bin\ld.exe:
region text is full (car section .text)
make[1]: *** [../../proj_bin/car.hex] Error 1
make[1]: Leaving directory `C:/ca/dev_gcc/car'
make: *** [ca5500r.hex] Error 2
- [avr-libc-dev] question about setting section sizes for linking,
bad address <=