annotate gsm-fw/L1/audio_cfile/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 56e3d8560d69
children 3f178b3ac50a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
608
46427440984a gsm-fw/L1/audio_cfile: l1audio_abb.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 CC= arm-elf-gcc
46427440984a gsm-fw/L1/audio_cfile: l1audio_abb.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 CPPFLAGS=-I../../include -I../include -I../audio_include -I../audio_cust0 \
46427440984a gsm-fw/L1/audio_cfile: l1audio_abb.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 -I../tm_include -I../tm_cust0 -I../cust0 -I../tpudrv \
46427440984a gsm-fw/L1/audio_cfile: l1audio_abb.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 -DMOVE_IN_INTERNAL_RAM
46427440984a gsm-fw/L1/audio_cfile: l1audio_abb.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 CFLAGS= -O2 -fno-builtin -mthumb-interwork
46427440984a gsm-fw/L1/audio_cfile: l1audio_abb.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 LD= arm-elf-ld
46427440984a gsm-fw/L1/audio_cfile: l1audio_abb.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7
830
56e3d8560d69 L1 audio: vocoder mute functions made independent of AUDIO_TASK
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 612
diff changeset
8 XOBJS= l1audio_abb.o l1audio_drive.o l1audio_init.o
608
46427440984a gsm-fw/L1/audio_cfile: l1audio_abb.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9
612
700d450bb8da L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 610
diff changeset
10 all: xipcode.o
608
46427440984a gsm-fw/L1/audio_cfile: l1audio_abb.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11
46427440984a gsm-fw/L1/audio_cfile: l1audio_abb.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 ${XOBJS}: %.o : %.c
46427440984a gsm-fw/L1/audio_cfile: l1audio_abb.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13 ${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $<
46427440984a gsm-fw/L1/audio_cfile: l1audio_abb.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14
612
700d450bb8da L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 610
diff changeset
15 xipcode.o: ${XOBJS}
700d450bb8da L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 610
diff changeset
16 ${LD} -r -o $@ ${XOBJS}
700d450bb8da L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 610
diff changeset
17
608
46427440984a gsm-fw/L1/audio_cfile: l1audio_abb.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 clean:
46427440984a gsm-fw/L1/audio_cfile: l1audio_abb.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 rm -f *.[oa] *.out *errs