[En-Nut-Discussion] What do do with big (demo) apps on small CPU

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Tue Jan 29 12:05:14 CET 2013


Hello,

compiling the demo apps for xnut-105c with avr-gcc 4.3.3 fails for me like:
avr-gcc lua.o -mmcu=at90can128 -Wl,--gc-sections -Wl,--defsym=main=0,-Map=lua.map,--cref -L../.././lib -Wl,--section-start=.data=0x801100 -Wl,--start-group ../.././lib/nutinit.o -lnutlua -lnutnet -lnutpro -lnutgorp -lnutos -lnutarch -lnutdev -lnutarch -lnutos -lnutcrt -lm   -Wl,--end-group -o lua.elf
/opt/cross/avr/lib/gcc/avr/4.3.3/../../../../avr/bin/ld: lua.elf section `.text' will not fit in region `text'
/opt/cross/avr/lib/gcc/avr/4.3.3/../../../../avr/bin/ld: region `text' overflowed by 58912 bytes

Is this a problem with my setup? Or my avr-gcc? I think, we the agreed that
make in the app directorty should succeed unconditional. How to fix?

Thanks
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------


More information about the En-Nut-Discussion mailing list