view makefile-frags/ram-link-steps @ 93:6475bde1b170

Building RAM fw images for the Pirelli: finishing touches
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 02 Oct 2016 19:51:37 +0000
parents 7bd197063b9e
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 $< $@