diff tms470/makefile-frags/ram-link-steps @ 42:2b8d11ddf653

tms470/makefile-frags: pruned import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 17 Jul 2018 08:20:16 +0000
parents
children 68ffaa96dea3
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tms470/makefile-frags/ram-link-steps	Tue Jul 17 08:20:16 2018 +0000
@@ -0,0 +1,15 @@
+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} build_date.obj 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 $< $@
+