FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/g23m-gsm/rr/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 | 3f9566c41e67 |
children |
rev | line source |
---|---|
732
a6f45d948d22
rr_attf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
1 CC= arm-elf-gcc |
a6f45d948d22
rr_attf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
2 LD= arm-elf-ld |
a6f45d948d22
rr_attf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
3 |
a6f45d948d22
rr_attf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
4 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb |
a6f45d948d22
rr_attf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
5 CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \ |
a6f45d948d22
rr_attf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
6 -I../../cdginc |
a6f45d948d22
rr_attf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
7 |
739
e915a56954ae
rr_dats.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
738
diff
changeset
|
8 OBJS= rr_attf.o rr_attp.o rr_atts.o rr_cs.o rr_csf.o rr_datf.o rr_datp.o \ |
746
3385558575ea
rr_tim.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
745
diff
changeset
|
9 rr_dats.o rr_em.o rr_forf.o rr_forp.o rr_fors.o rr_pei.o rr_srv.o \ |
3385558575ea
rr_tim.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
745
diff
changeset
|
10 rr_tim.o |
732
a6f45d948d22
rr_attf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
11 |
747
3f9566c41e67
gsm-fw/g23m-gsm/rr/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
746
diff
changeset
|
12 all: xipcode.o |
3f9566c41e67
gsm-fw/g23m-gsm/rr/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
746
diff
changeset
|
13 |
3f9566c41e67
gsm-fw/g23m-gsm/rr/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
746
diff
changeset
|
14 xipcode.o: ${OBJS} |
3f9566c41e67
gsm-fw/g23m-gsm/rr/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
746
diff
changeset
|
15 ${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
|
16 |
5ec79b82ab04
gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 clean: |
5ec79b82ab04
gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 rm -f *.[oa] *.out *errs |