annotate components/aciext-classic @ 513:d6da3c06d484

patch_file36_10.c trivial wrapper added for L1_DYN_DSP_DWNLD=0 experiments
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 25 Jun 2018 22:42:48 +0000
parents 29ada88ec3cf
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # Building the classic TCS211 version of aciext.lib
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 CFLAGS="-me -mt -o -pw2 -x -mw"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 CPPFLAGS=
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 make_version aci_ext
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 cfile_plain aci_ext_version.c
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 # Defines
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 CPPFLAGS=-DCCDTABLES_EXTERN
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 CPPFLAGS="$CPPFLAGS -D_TARGET_"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 CPPFLAGS="$CPPFLAGS -DALR"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 CPPFLAGS="$CPPFLAGS -DFF_CPHS"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 CPPFLAGS="$CPPFLAGS -D_TMS470"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 CPPFLAGS="$CPPFLAGS -DUART"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 CPPFLAGS="$CPPFLAGS -DFF_ATI"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 CPPFLAGS="$CPPFLAGS -DNWARN"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 if [ "$SRVC" != 0 ]
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 then
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 if [ "$SRVC" = 1 ]
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 then
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 CPPFLAGS="$CPPFLAGS -DFF_FAX"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 fi
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 fi
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 if [ "$MMI" = 0 ]
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 then
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 CPPFLAGS="$CPPFLAGS -DACI"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 elif [ "$MMI" = 2 ]
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 then
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 CPPFLAGS="$CPPFLAGS -DMFW"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 fi
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 if [ "$GPRS" = 1 ]
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54 then
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 CPPFLAGS="$CPPFLAGS -DGPRS"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56 fi
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 CPPFLAGS="$CPPFLAGS -DSMS_PDU_SUPPORT"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 CPPFLAGS="$CPPFLAGS -DDTI2"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62 # Includes
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/aci"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/aci_ext"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71 CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 CPPFLAGS="$CPPFLAGS -I.."
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
73 CPPFLAGS="$CPPFLAGS -I../config"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
75 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
76 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
77 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
78 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
79 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
80 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
81 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
82 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
83 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
84 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
85 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
86 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
87 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
90 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
92 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
93 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
94
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
95 # Source modules
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
96
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
97 SRCDIR=$SRC/aci2/aci_ext
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
98
29ada88ec3cf aciext.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
99 cfile_str2ind $SRCDIR/aci_ext_pers.c