annotate components/l1_int @ 347:78d1df0b8487

aci2: AT%CBC and AT@CHARGE implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 16 Dec 2017 00:37:43 +0000
parents cc0426509943
children 838eeafb0051
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
74
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # Building l1_int.lib
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 SRCDIR=$SRC/cs/layer1
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 # *_intram.c generation
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 helpers/makeline dep l1_cmplx_intram.c $SRCDIR/cfile/l1_cmplx.c \
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 >> $BUILD_DIR/$LIBNAME/Makefile
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 helpers/makeline cmd sed -n -f $SRCDIR/tools/intram.sed '$<' '>' '$@' \
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 >> $BUILD_DIR/$LIBNAME/Makefile
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 echo >> $BUILD_DIR/$LIBNAME/Makefile
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 helpers/makeline dep l1_sync_intram.c $SRCDIR/cfile/l1_sync.c \
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 >> $BUILD_DIR/$LIBNAME/Makefile
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 helpers/makeline cmd sed -n -f $SRCDIR/tools/intram.sed '$<' '>' '$@' \
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 >> $BUILD_DIR/$LIBNAME/Makefile
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 echo >> $BUILD_DIR/$LIBNAME/Makefile
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
303
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
19 if [ "$GPRS" = 1 ]
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
20 then
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
21 helpers/makeline dep l1p_cmpl_intram.c $SRCDIR/p_cfile/l1p_cmpl.c \
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
22 >> $BUILD_DIR/$LIBNAME/Makefile
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
23 helpers/makeline cmd sed -n -f $SRCDIR/tools/intram.sed '$<' '>' '$@' \
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
24 >> $BUILD_DIR/$LIBNAME/Makefile
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
25 echo >> $BUILD_DIR/$LIBNAME/Makefile
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
26
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
27 helpers/makeline dep l1p_sync_intram.c $SRCDIR/p_cfile/l1p_sync.c \
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
28 >> $BUILD_DIR/$LIBNAME/Makefile
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
29 helpers/makeline cmd sed -n -f $SRCDIR/tools/intram.sed '$<' '>' '$@' \
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
30 >> $BUILD_DIR/$LIBNAME/Makefile
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
31 echo >> $BUILD_DIR/$LIBNAME/Makefile
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
32 fi
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
33
74
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 # Compilation
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 CFLAGS="-g -me -pw2 -mt -o -mw"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 CPPFLAGS="-DRV_TRACE_LEVEL_WARNING=2 -DTOOL_CHOICE=0 -D_TMS470"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 # Includes
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 CPPFLAGS="$CPPFLAGS -I../config"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 CPPFLAGS="$CPPFLAGS -I.."
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/buzzer"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/ffs"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/sim"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/uart"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rvt"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services/Audio"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/p_source0"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source0"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
73 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
75 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
76 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
77 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
78 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
79 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
80 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
81 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
82 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
83
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
84 # Source modules
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
85
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
86 cfile_plain $SRCDIR/cfile/l1_func.c
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
87 cfile_plain $SRCDIR/cfile/l1_drive.c
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
88 cfile_plain $SRCDIR/cfile/l1_mfmgr.c
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
89 cfile_plain $SRCDIR/cfile/l1_ctl.c
235
53b797cd3c12 components/l1_{ext,int}: compile the recently deblobbed l1audio & l1tm
Mychaela Falconia <falcon@freecalypso.org>
parents: 74
diff changeset
90 cfile_plain $SRCDIR/audio_cfile/l1audio_func.c
53b797cd3c12 components/l1_{ext,int}: compile the recently deblobbed l1audio & l1tm
Mychaela Falconia <falcon@freecalypso.org>
parents: 74
diff changeset
91 cfile_plain $SRCDIR/audio_cfile/l1audio_sync.c
304
cc0426509943 components/l1_{ext,int}: no need to compile the L1_GTT dummies
Mychaela Falconia <falcon@freecalypso.org>
parents: 303
diff changeset
92 #cfile_plain $SRCDIR/gtt_cfile/ctm/viterbi.c
cc0426509943 components/l1_{ext,int}: no need to compile the L1_GTT dummies
Mychaela Falconia <falcon@freecalypso.org>
parents: 303
diff changeset
93 #cfile_plain $SRCDIR/gtt_cfile/ctm/wait_for_sync.c
74
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
94 cfile_plain $SRCDIR/dl1/dl1_com.c
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
95 cfile_plain $SRCDIR/cfile/l1_api_hisr.c
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
96
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
97 if [ "$GPRS" = 1 ]
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
98 then
303
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
99 cfile_plain $SRCDIR/p_cfile/l1p_ctl.c
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
100 cfile_plain $SRCDIR/p_cfile/l1p_func.c
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
101 cfile_plain $SRCDIR/p_cfile/l1p_driv.c
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
102 cfile_plain $SRCDIR/cmacs/macs.c
74
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
103 fi
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
104
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
105 cfile_plain l1_cmplx_intram.c
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
106 cfile_plain l1_sync_intram.c
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
107
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
108 if [ "$GPRS" = 1 ]
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
109 then
303
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
110 cfile_plain l1p_cmpl_intram.c
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
111 cfile_plain l1p_sync_intram.c
74
a46b0aacd9aa recompilation of l1_int.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
112 fi