annotate components/gdi @ 260:df0b531bb53d

aci3: AT%VER returns FreeCalypso firmware version string
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 04 Aug 2017 15:24:42 +0000
parents bfcfbffd2736
children aee911923299
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # Building gdi.lib
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 CFLAGS="-me -mt -o -pw2 -x -mw"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 # Defines
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 CPPFLAGS=-DCCDTABLES_EXTERN
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 CPPFLAGS="$CPPFLAGS -D_TARGET_"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 CPPFLAGS="$CPPFLAGS -DALR"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 CPPFLAGS="$CPPFLAGS -DFF_CPHS"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 CPPFLAGS="$CPPFLAGS -D_TMS470"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 CPPFLAGS="$CPPFLAGS -DUART"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 CPPFLAGS="$CPPFLAGS -DFF_ATI"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 CPPFLAGS="$CPPFLAGS -DNWARN"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 if [ "$MMI" = 0 ]
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 then
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 CPPFLAGS="$CPPFLAGS -DACI"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 elif [ "$MMI" = 2 ]
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 then
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 CPPFLAGS="$CPPFLAGS -DMFW"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 fi
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 CPPFLAGS="$CPPFLAGS -DMMI_HOMEZONE_ENABLED"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 if [ "$GPRS" = 1 ]
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 then
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 CPPFLAGS="$CPPFLAGS -DMMI_GPRS_ENABLED"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 fi
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ"
113
bfcfbffd2736 components/gdi: preparations for integrating tcs211-c139 work
Mychaela Falconia <falcon@freecalypso.org>
parents: 26
diff changeset
44
bfcfbffd2736 components/gdi: preparations for integrating tcs211-c139 work
Mychaela Falconia <falcon@freecalypso.org>
parents: 26
diff changeset
45 if [ "$TARGET" != c139 ]
bfcfbffd2736 components/gdi: preparations for integrating tcs211-c139 work
Mychaela Falconia <falcon@freecalypso.org>
parents: 26
diff changeset
46 then
bfcfbffd2736 components/gdi: preparations for integrating tcs211-c139 work
Mychaela Falconia <falcon@freecalypso.org>
parents: 26
diff changeset
47 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY"
bfcfbffd2736 components/gdi: preparations for integrating tcs211-c139 work
Mychaela Falconia <falcon@freecalypso.org>
parents: 26
diff changeset
48 CPPFLAGS="$CPPFLAGS -DLSCREEN"
bfcfbffd2736 components/gdi: preparations for integrating tcs211-c139 work
Mychaela Falconia <falcon@freecalypso.org>
parents: 26
diff changeset
49 fi
bfcfbffd2736 components/gdi: preparations for integrating tcs211-c139 work
Mychaela Falconia <falcon@freecalypso.org>
parents: 26
diff changeset
50
26
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 CPPFLAGS="$CPPFLAGS -DTRGT_G23"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 if [ "$GPRS" = 1 ]
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 then
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 CPPFLAGS="$CPPFLAGS -DGPRS"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 fi
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62 CPPFLAGS="$CPPFLAGS -DCHIPSET=10"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63 CPPFLAGS="$CPPFLAGS -DBOARD=41"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64 CPPFLAGS="$CPPFLAGS -DCUST=0"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65 CPPFLAGS="$CPPFLAGS -DTESTMODE=1"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 # Includes
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
73 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74 CPPFLAGS="$CPPFLAGS -I$SRC/condat2/com/src/driver"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
75 CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
76 CPPFLAGS="$CPPFLAGS -I.."
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
77 CPPFLAGS="$CPPFLAGS -I../config"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
78 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
79 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
80 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
81 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
82 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
83 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
84 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
85 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
86 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
87 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
90 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
92 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
93 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
94 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
95 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
96 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
97 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
98
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
99 # Source modules
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
100
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
101 SRCDIR=$SRC/condat2/com/src/driver
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
102
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
103 cfile_str2ind $SRCDIR/audio.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
104 cfile_str2ind $SRCDIR/display.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
105 cfile_str2ind $SRCDIR/keypad.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
106 cfile_str2ind $SRCDIR/light.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
107 cfile_str2ind $SRCDIR/power.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
108 cfile_str2ind $SRCDIR/rx.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
109 cfile_str2ind $SRCDIR/em.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
110 cfile_str2ind $SRCDIR/rtc.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
111 cfile_str2ind $SRCDIR/vmd.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
112 cfile_str2ind $SRCDIR/font_bitmaps.c
648d079d4e58 gdi.lib done
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
113 cfile_str2ind $SRCDIR/ffs_coat.c