FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/gpf/osl/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 | 2f79ddc12bb0 |
children |
rev | line source |
---|---|
338
42bc1d7068ac
OSL reconstruction: os_pro_fl.c started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= arm-elf-gcc |
343
e3a2e6e875de
OSL reconstruction: beginning of os_pro_ir.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
338
diff
changeset
|
2 COPTS= -O2 -fno-builtin -mthumb-interwork -I../inc |
e3a2e6e875de
OSL reconstruction: beginning of os_pro_ir.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
338
diff
changeset
|
3 IOPTS= -DRUN_INT_RAM |
e3a2e6e875de
OSL reconstruction: beginning of os_pro_ir.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
338
diff
changeset
|
4 XOPTS= -DRUN_FLASH -mthumb |
338
42bc1d7068ac
OSL reconstruction: os_pro_fl.c started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 |
461
7017da4978bb
OSL: os_tim_ir.c started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
454
diff
changeset
|
6 IOBJS= os_com_ir.o os_mem_ir.o os_mis_ir.o os_pro_ir.o \ |
7017da4978bb
OSL: os_tim_ir.c started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
454
diff
changeset
|
7 os_sem_ir.o os_tim_ir.o |
477
2f79ddc12bb0
OSL reconstruction: os_mis_fl.c: got the set of included headers, passes gcc
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
461
diff
changeset
|
8 XOBJS= os_com_fl.o os_drv.o os_isr.o os_mem_fl.o os_mis_fl.o os_pro_fl.o \ |
454
8d5a9f254dfc
OSL: os_tim_fl.c started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
450
diff
changeset
|
9 os_sem_fl.o os_tim_fl.o |
338
42bc1d7068ac
OSL reconstruction: os_pro_fl.c started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 |
343
e3a2e6e875de
OSL reconstruction: beginning of os_pro_ir.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
338
diff
changeset
|
11 all: ${IOBJS} ${XOBJS} |
e3a2e6e875de
OSL reconstruction: beginning of os_pro_ir.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
338
diff
changeset
|
12 |
e3a2e6e875de
OSL reconstruction: beginning of os_pro_ir.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
338
diff
changeset
|
13 ${IOBJS}: %.o : %.c |
e3a2e6e875de
OSL reconstruction: beginning of os_pro_ir.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
338
diff
changeset
|
14 ${CC} ${COPTS} ${IOPTS} -c $< |
e3a2e6e875de
OSL reconstruction: beginning of os_pro_ir.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
338
diff
changeset
|
15 |
e3a2e6e875de
OSL reconstruction: beginning of os_pro_ir.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
338
diff
changeset
|
16 ${XOBJS}: %.o : %.c |
e3a2e6e875de
OSL reconstruction: beginning of os_pro_ir.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
338
diff
changeset
|
17 ${CC} ${COPTS} ${XOPTS} -c $< |
338
42bc1d7068ac
OSL reconstruction: os_pro_fl.c started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 |
42bc1d7068ac
OSL reconstruction: os_pro_fl.c started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 clean: |
42bc1d7068ac
OSL reconstruction: os_pro_fl.c started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 rm -f *.[oa] *errs |