[En-Nut-Discussion] branches/devnut_m3n and Yagarto 20110429

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Mon Jun 27 17:08:50 CEST 2011


Hello,

compiling against a self compiled Yagarto 20110429
(http://www.yagarto.de/source/index.html) 

results in
arm-none-eabi-gcc caltime.o -mcpu=cortex-m3 -mthumb -mlittle-endian
-D__CORTEX__ -nostartfiles
-T../.././nut/arch/cm3/ldscripts/stm32f107xC_flash.ld
-Wl,-Map=caltime.map,--cref,--gc-sections -L../../stm32_can/lib
-Wl,--start-group ../../stm32_can/lib/nutinit.o -lnutpro -lnutgorp -lnutcrt
-lnutos -lnutdev -lnutarch -Wl,--end-group -o caltime.elf
/opt/spare/bon/stm/yagarto/install/bin/../lib/gcc/arm-none-eabi/4.6.0/../../../../arm-none-eabi/bin/ld:
caltime.elf section `.heap' will not fit in region `SRAM0'
/opt/spare/bon/stm/yagarto/install/bin/../lib/gcc/arm-none-eabi/4.6.0/../../../../arm-none-eabi/bin/ld:
region `SRAM0' overflowed by 536873800 bytes collect2: ld returned 1 exit
status make[1]: *** [caltime.elf] Fehler 1

trunk reports:
------------------------------------------------------------------------
r3394 | haraldkipp | 2011-04-27 15:26:48 +0200 (Mi, 27. Apr 2011) | 2 Zeilen

Include all linker sections starting with .text. This fixes a problem with
YAGARTO based on GCC 4.6.

So there seem to be some updates needed for latest tools. I tried to add the
change from r3394 to nut/arch/cm3/ldscripts/stm32f10x_flash.ld, but to no
avail. 

Any hints what to fix where?

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