[En-Nut-Discussion] Parameters for the linker

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Mon Mar 7 18:13:45 CET 2016


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 at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------


More information about the En-Nut-Discussion mailing list