view tms470/makefile-frags/link-steps @ 107:b882091ebb68

gprscomp.c: DMEM_PARTITION_1_SIZE bumped from 1600 to 1700 for gcc These large DMEM partitions are used for T_CCD_Globs structure allocations by the GRLC and GRR entities, and this structure contains a jmp_buf for setjmp/longjmp. Our gcc/newlib version of jmp_buf is bigger than TI's TMS470, and the whole structure is now 1636 bytes instead of 1584.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 23 Jul 2018 19:45:50 +0000
parents 5ba0bee90efa
children d606941f1286
line wrap: on
line source

build_date.c:	${LIBS}
	../helpers/build-date ${CONFIG_NAME} > $@

build_date.obj:	build_date.c
	../tms470/toolwrap/cl470 -q -c -me -mt -o -pw2 -x -mw build_date.c

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

fwimage.out:	${LIBS} build_date.obj link.cmd
	../tms470/toolwrap/vlnk470 -farcall -x -o $@ -m fwimage.map $^

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