annotate gsm-fw/services/dar/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 a7087f91c752
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
307
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 CC= arm-elf-gcc
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 LD= arm-elf-ld
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4
309
a7087f91c752 DAR: all C modules compile without RVM_DAR_SWE
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 308
diff changeset
5 OBJS= dar_api.o dar_diagnose.o dar_emergency.o dar_env.o dar_error_hdlr.o \
a7087f91c752 DAR: all C modules compile without RVM_DAR_SWE
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 308
diff changeset
6 dar_gbl_var.o dar_handle_message.o dar_msg_ft.o dar_task.o \
a7087f91c752 DAR: all C modules compile without RVM_DAR_SWE
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 308
diff changeset
7 dar_watchdog.o
307
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 HDRS= dar_api.h dar_const_i.h dar_diagnose_i.h dar_emergency.h dar_env.h \
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 dar_error_hdlr_i.h dar_gen.h dar_handle_message.h dar_macro_i.h \
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 dar_messages_i.h dar_msg_ft.h dar_pool_size.h dar_structs_i.h \
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 dar_watchdog.h
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14 all: xipcode.o
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 ${OBJS}: ${HDRS}
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 xipcode.o: ${OBJS}
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 ${LD} -r -o $@ ${OBJS}
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21 clean:
749ca89741fa DAR: starting to compile
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22 rm -f *.[oa] *errs