annotate gsm-fw/g23m-gsm/ss/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 bccd56f16a71
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
768
461aad16a816 ss_csf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
1 CC= arm-elf-gcc
461aad16a816 ss_csf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
2 LD= arm-elf-ld
461aad16a816 ss_csf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
3
461aad16a816 ss_csf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
4 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb
461aad16a816 ss_csf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
5 CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \
461aad16a816 ss_csf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
6 -I../../cdginc
461aad16a816 ss_csf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
7
772
6791a13c0673 ss_ss.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 771
diff changeset
8 OBJS= ss_csf.o ss_em.o ss_for.o ss_pei.o ss_ss.o
768
461aad16a816 ss_csf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
9
773
bccd56f16a71 gsm-fw/g23m-gsm/ss/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 772
diff changeset
10 all: xipcode.o
bccd56f16a71 gsm-fw/g23m-gsm/ss/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 772
diff changeset
11
bccd56f16a71 gsm-fw/g23m-gsm/ss/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 772
diff changeset
12 xipcode.o: ${OBJS}
bccd56f16a71 gsm-fw/g23m-gsm/ss/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 772
diff changeset
13 ${LD} -r -o $@ ${OBJS}
674
5ec79b82ab04 gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14
5ec79b82ab04 gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15 clean:
5ec79b82ab04 gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 rm -f *.[oa] *.out *errs