Weddington, Eric wrote:


-----Original Message----- From: avr-gcc-list-bounces+eweddington=cso.atmel....@nongnu.org [mailto:avr-gcc-list-bounces+eweddington=cso.atmel....@nongnu. org]
On Behalf Of Robert von Knobloch Sent: Monday, March 16, 2009 10:00
AM To: avr-gcc-list@nongnu.org Subject: [avr-gcc-list] [Fwd: Re:
Strings in ROM]


Then the compiler complains "mystring causes a section type
conflict".

This sounds like a linker error. It would help if you could post the
actual output from the toolchain.

It doesn't sound like an error to me, but a justified linker warning (though we can't be entirely sure without the build output). I haven't mixed sections like this with avr-gcc, but I've sometimes done it on other targets (msp430 and ColdFire) to put code (such as flash programming routines) into ram by forcing them into the .data section. The linker *should* complain about mixing data and code in the same input section, although it should still generate the correct output.

mvh.,

David



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to