annotate gsm-fw/L1/cust0/Makefile @ 884:353daaa6014d

gsm-fw/gpf/conf/gsmcomp.c: increased max partition in the voice-only config The code we got from TCS211 had the maximum prim pool partition size set to 900 bytes in the voice-only config (no FAX_AND_DATA, no GPRS) and to 1600 bytes in every other config. As it turns out, this "minimized" config breaks when the AT command interface is used with %CPI enabled, as the responsible code in ATI does an ACI_MALLOC of 1012 bytes. TI may have considered this case to be unsupported usage (perhaps they didn't care about the combination of a voice-only PS with AT command control), but we do want this use case to work without crashing. Solution: I made the largest prim pool the same as it is with FAX_AND_DATA: 3 partitions of 1600 bytes.
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 27 Jun 2015 07:31:30 +0000
parents 2dccd2b4e5a2
children 452a4aea3fc5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
520
ed6071292a5c L1: first C module compiles: ind_os.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 CC= arm-elf-gcc
527
a6ff7b513bcf gsm-fw/L1/cust0: use -I flags in the Makefile to make C code files less ugly
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 522
diff changeset
2 CPPFLAGS=-I../../include -I../include -I../audio_include -I../audio_cust0 \
528
1affe428bf72 getting closer to compiling l1_cust.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 527
diff changeset
3 -I../tm_include -I../tm_cust0 -I../tpudrv
520
ed6071292a5c L1: first C module compiles: ind_os.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 CFLAGS= -O2 -fno-builtin -mthumb-interwork
ed6071292a5c L1: first C module compiles: ind_os.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 LD= arm-elf-ld
ed6071292a5c L1: first C module compiles: ind_os.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6
542
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff changeset
7 IOBJS= ind_os.o l1_cust_iram.o
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff changeset
8 XOBJS= l1_cust_xip.o l1_rf12.o
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff changeset
9
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff changeset
10 all: iramcode.o xipcode.o
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff changeset
11
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff changeset
12 l1_cust_iram.o: l1_cust.c
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff changeset
13 ${CC} ${CFLAGS} ${CPPFLAGS} -DRUN_INT_RAM -c -o $@ $<
520
ed6071292a5c L1: first C module compiles: ind_os.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14
542
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff changeset
15 l1_cust_xip.o: l1_cust.c
543
2dccd2b4e5a2 gsm-fw/L1/cust0/Makefile: forgot -mthumb for l1_cust_xip.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 542
diff changeset
16 ${CC} ${CFLAGS} ${CPPFLAGS} -DRUN_FLASH -mthumb -c -o $@ $<
542
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff changeset
17
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff changeset
18 iramcode.o: ${IOBJS}
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff changeset
19 ${LD} -r -o $@ ${IOBJS}
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff changeset
20
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff changeset
21 xipcode.o: ${XOBJS}
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff changeset
22 ${LD} -r -o $@ ${XOBJS}
520
ed6071292a5c L1: first C module compiles: ind_os.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23
ed6071292a5c L1: first C module compiles: ind_os.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
24 clean:
ed6071292a5c L1: first C module compiles: ind_os.c
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
25 rm -f *.[oa] *.out *errs