view makefile-frags/ram-link-steps @ 103:76d139c7a25e

targets/fcdev3b.conf: we'll have the same memory IC as the Pirelli, so use the same flash and RAM linker scripts templates
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 04 Oct 2016 04:31:20 +0000
parents 6475bde1b170
children 9432dd63626b
line wrap: on
line source

ram:	ramimage.srec

link_ram.cmd:	${RAM_LINK_SCRIPT_SRC} Makefile lcfgen
	perl ../scripts/ti/make_cmd.pl lcfgen $@ 0 ${RAM_LINK_SCRIPT_SRC} \
		${SPECIAL_LINK_LIBS}

ramimage.out:	${LIBS} str2ind.obj link_ram.cmd
	../toolwrap/vlnk470 -farcall -x -o $@ -m ramimage.map $^

ramimage.m0:	ramimage.out
	../toolwrap/hex470 -m -memwidth 16 -romwidth 16 $<

ramimage.srec:	ramimage.m0
	../helpers/srec4ram $< $@