Parameters for the linker

Uwe Bonnes <bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org> Mon, 7 Mar 2016 18:13:45 +0100
Newsgroups gmane.comp.hardware.microcontrollers.ethernut
Message-ID <[email protected]>
Hello,

in nut/arch/cm3/ldscripts a lot of linker files piled up, with very few
individual parameters, like bootloader_offset, a board specific parameter
which should be settable by the user  and FLASH0_LEN, SRAM0_ORIGIN,
SRAM0_LENGHT and few others, and finaly the family specific INCLUDE. The
latter parameters are deciphered during configuration. However I don't know
a way to give these parameters as command arguments during linker phase. So
we would need to construct a project specific linker file during
configuration or with some helper during compilation.

Any ideas how to achieve this without do much work?

Thanks
-- 
Uwe Bonnes                bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion