[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Re: [avrdude-dev] [RFC] avrdude FeatureRequestandCall
From: |
Colin O'Flynn |
Subject: |
Re: [avr-gcc-list] Re: [avrdude-dev] [RFC] avrdude FeatureRequestandCall for Volunteers |
Date: |
Mon, 12 Mar 2007 13:08:32 -0300 |
User-agent: |
KMail/1.8.2 |
Hey,
How do I relocate the sections to the correct address? In the file I want to
add fuses to, I have:
const unsigned char lfuse __attribute__((section (".lfuse"))) = 0xFF;
const unsigned char hfuse __attribute__((section (".hfuse"))) = 0x02;
const unsigned char efuse __attribute__((section (".efuse"))) = 0xA4;
But I get:
Linking: main.elf
avr-gcc -mmcu=atmega16 -I. -gstabs -DF_CPU=3680000UL -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes
-Wa,-adhlns=main.o -std=gnu99 -MD -MP -MF .dep/main.elf.d main.o --output
main.elf -Wl,-Map=main.map,--cref -Wl,-u,vfprintf -lprintf_min
-Wl,-u,vfscanf -lscanf_min
/opt/avr/lib/gcc/avr/3.4.4/../../../../avr/bin/ld: section .lfuse [00000bb4 ->
00000bb4] overlaps section .data [00000bb4 -> 00000bb7]
/opt/avr/lib/gcc/avr/3.4.4/../../../../avr/bin/ld: section .hfuse [00000bb5 ->
00000bb5] overlaps section .data [00000bb4 -> 00000bb7]
/opt/avr/lib/gcc/avr/3.4.4/../../../../avr/bin/ld: section .efuse [00000bb6 ->
00000bb6] overlaps section .data [00000bb4 -> 00000bb7]
make: *** [main.elf] Error 1
Thanks,
-Colin
- Re: [avr-gcc-list] Re: [avrdude-dev] [RFC] avrdude Feature Request andCall for Volunteers, (continued)
- Re: [avr-gcc-list] Re: [avrdude-dev] [RFC] avrdude Feature Request andCall for Volunteers, Galen Seitz, 2007/03/10
- Re: [avr-gcc-list] Re: [avrdude-dev] [RFC] avrdude Feature Request andCall for Volunteers, Scott L. Price, 2007/03/10
- RE: [avr-gcc-list] Re: [avrdude-dev] [RFC] avrdude Feature RequestandCall for Volunteers, Eric Weddington, 2007/03/10
- RE: [avr-gcc-list] Re: [avrdude-dev] [RFC] avrdude Feature RequestandCall for Volunteers, Tymm, 2007/03/10
- Re: [avr-gcc-list] Re: [avrdude-dev] [RFC] avrdude Feature RequestandCall for Volunteers, Scott L. Price, 2007/03/10
- RE: [avr-gcc-list] Re: [avrdude-dev] [RFC] avrdude FeatureRequestandCall for Volunteers, Eric Weddington, 2007/03/10
- Re: [avr-gcc-list] Re: [avrdude-dev] [RFC] avrdude Feature RequestandCall for Volunteers, Galen Seitz, 2007/03/10
- RE: [avr-gcc-list] Re: [avrdude-dev] [RFC] avrdude FeatureRequestandCall for Volunteers, Eric Weddington, 2007/03/10
- Re: [avr-gcc-list] Re: [avrdude-dev] [RFC] avrdude FeatureRequestandCall for Volunteers, Colin O'Flynn, 2007/03/11
- RE: [avr-gcc-list] Re: [avrdude-dev] [RFC] avrdudeFeatureRequestandCall for Volunteers, Eric Weddington, 2007/03/11
- Re: [avr-gcc-list] Re: [avrdude-dev] [RFC] avrdude FeatureRequestandCall for Volunteers,
Colin O'Flynn <=
- Re: [avr-gcc-list] Re: [avrdude-dev] [RFC] avrdude FeatureRequestandCall for Volunteers, Tymm, 2007/03/12