view makefile-frags/ram-link-steps @ 283:d9e3f3e293ac

etm_audio.c: fix off-by-one error in auw of FIR coefficients The implementation of auw operation for UL or DL FIR upload had this bug: the number of 16-bit shortwords copied into the RVF-allocated temporary buffer was one too many, causing memory corruption errors. The present change fixes this bug.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 08 Nov 2021 02:54:04 +0000
parents 94ee95dad595
children
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} 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 $< $@