FreeCalypso > hg > freecalypso-sw
view gsm-fw/g23m-aci/Makefile @ 923:10b4bed10192
gsm-fw/L1: fix for the DSP patch corruption bug
The L1 code we got from the LoCosto fw contains a feature for DSP CPU load
measurement. This feature is a LoCosto-ism, i.e., not applicable to earlier
DBB chips (Calypso) with their respective earlier DSP ROMs. Most of the
code dealing with that feature is conditionalized as #if (DSP >= 38),
but one spot was missed, and the MCU code was writing into an API word
dealing with this feature. In TCS211 this DSP API word happens to be
used by the DSP code patch, hence that write was corrupting the patched
DSP code.
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 19 Oct 2015 17:13:56 +0000 |
parents | 5c4381b80bd2 |
children |
line wrap: on
line source
LD= arm-elf-ld SUBDIR= aci aci_dti_mng aci_ext ati_ext bat dti gdd_dio ksd l2p uart XIP_OBJS= aci/xipcode.o aci_dti_mng/dti_conn_mng.o \ aci_ext/aci_ext_pers.o ati_ext/ati_ext_mech.o ksd/xipcode.o \ uart/xipcode.o all: xipcode.o dti ${SUBDIR}: FRC cd $@; ${MAKE} ${MFLAGS} aci/xipcode.o: aci @true aci_dti_mng/dti_conn_mng.o: aci_dti_mng @true aci_ext/aci_ext_pers.o: aci_ext @true ati_ext/ati_ext_mech.o: ati_ext @true ksd/xipcode.o: ksd @true uart/xipcode.o: uart @true xipcode.o: ${XIP_OBJS} ${LD} -r -o $@ ${XIP_OBJS} clean: FRC rm -f *.[oa] *.out *errs for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done FRC: