[En-Nut-Discussion] devnut_m3n branch linker severely broken?

Ole Reinhardt ole.reinhardt at embedded-it.de
Wed Feb 1 17:10:39 CET 2012

Hi Ulrich,

> in devnut_m3n the linker setup is severely broken.
> I t is impossible to link a system without big code overhead. It looks
> like both, stdlib and nutos wrappers, are linked into the system.

Are you shure that this is a problem of the devnut_m3n in general or
just a problem with the STM32 implementation / Linker scripts?

With the LPC1788 implementation I compiled my little test program (some
blinking LEDs) and it just has 3K of size, not more than a few weeks

On the other hand there are no references to the nutcrt right now.

AFAIK Uwe modified the STM32 linker scripts not long ago.

Have you just looked at the different segments (arm-none-eabi-objdump -h
yourfile.elf) to see which segment growed that much? 

Are you sure you used the same toolchain than before?




Thermotemp GmbH, Embedded-IT

Embedded Hard-/ Software and Open Source Development, 
Integration and Consulting


Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen - 
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97

Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280 

More information about the En-Nut-Discussion mailing list