annotate gsm-fw/g23m-glue/cst/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 8227a33397de
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
844
55b3de755b7a starting to compile cst
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 834
diff changeset
1 CC= arm-elf-gcc
55b3de755b7a starting to compile cst
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 834
diff changeset
2 LD= arm-elf-ld
55b3de755b7a starting to compile cst
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 834
diff changeset
3
55b3de755b7a starting to compile cst
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 834
diff changeset
4 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb
55b3de755b7a starting to compile cst
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 834
diff changeset
5 CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \
55b3de755b7a starting to compile cst
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 834
diff changeset
6 -I../../cdginc
55b3de755b7a starting to compile cst
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 834
diff changeset
7
847
8140945526c2 cst_stack.c compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 846
diff changeset
8 OBJS= cst_csf.o cst_exts.o cst_pei.o cst_stack.o
844
55b3de755b7a starting to compile cst
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 834
diff changeset
9
848
8227a33397de gtamodem-gsm flashImage links with cst included!
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 847
diff changeset
10 all: xipcode.o
8227a33397de gtamodem-gsm flashImage links with cst included!
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 847
diff changeset
11
8227a33397de gtamodem-gsm flashImage links with cst included!
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 847
diff changeset
12 xipcode.o: ${OBJS}
8227a33397de gtamodem-gsm flashImage links with cst included!
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 847
diff changeset
13 ${LD} -r -o $@ ${OBJS}
834
91ed96b28c7a gsm-fw/g23m-glue: stub Makefile hierarchy created
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
14
91ed96b28c7a gsm-fw/g23m-glue: stub Makefile hierarchy created
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
15 clean:
91ed96b28c7a gsm-fw/g23m-glue: stub Makefile hierarchy created
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
16 rm -f *.[oa] *.out *errs