FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/g23m-gsm/sms/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 | 77ab12ccdec1 |
children |
rev | line source |
---|---|
757
833f2fee131b
sms_cp.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
1 CC= arm-elf-gcc |
833f2fee131b
sms_cp.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
2 LD= arm-elf-ld |
833f2fee131b
sms_cp.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
3 |
833f2fee131b
sms_cp.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
4 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb |
833f2fee131b
sms_cp.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
5 CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \ |
833f2fee131b
sms_cp.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
6 -I../../cdginc |
833f2fee131b
sms_cp.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
7 |
764
2d8cb1c85e01
sms_tlf.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
763
diff
changeset
|
8 OBJS= sms_cp.o sms_csf.o sms_em.o sms_for.o sms_pei.o sms_rl.o sms_time.o \ |
766
d10585d665b4
sms_tls.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
765
diff
changeset
|
9 sms_tlf.o sms_tlp.o sms_tls.o |
757
833f2fee131b
sms_cp.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
10 |
767
77ab12ccdec1
gsm-fw/g23m-gsm/sms/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
766
diff
changeset
|
11 all: xipcode.o |
77ab12ccdec1
gsm-fw/g23m-gsm/sms/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
766
diff
changeset
|
12 |
77ab12ccdec1
gsm-fw/g23m-gsm/sms/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
766
diff
changeset
|
13 xipcode.o: ${OBJS} |
77ab12ccdec1
gsm-fw/g23m-gsm/sms/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
766
diff
changeset
|
14 ${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
|
15 |
5ec79b82ab04
gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 clean: |
5ec79b82ab04
gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 rm -f *.[oa] *.out *errs |