annotate components/l1_ext @ 516:1ed9de6c90bd

src/g23m-gsm/sms/sms_for.c: bogus malloc removed The new error handling code that was not present in TCS211 blob version contains a malloc call that is bogus for 3 reasons: 1) The memory allocation in question is not needed in the first place; 2) libc malloc is used instead of one of the firmware's proper ways; 3) The memory allocation is made inside a function and then never freed, i.e., a memory leak. This bug was caught in gcc-built FreeCalypso fw projects (Citrine and Selenite) because our gcc environment does not allow any use of libc malloc (any reference to malloc produces a link failure), but this code from TCS3.2 is wrong even for Magnetite: if this code path is executed repeatedly over a long time, the many small allocations made by this malloc call without a subsequent free will eventually exhaust the malloc heap provided by the TMS470 environment, malloc will start returning NULL, and the bogus code will treat it as an error. Because the memory allocation in question is not needed at all, the fix entails simply removing it.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 22 Jul 2018 06:04:49 +0000
parents 11e279107681
children 838eeafb0051
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
72
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # Building l1_ext.lib
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 CFLAGS="-g -me -pw2 -mt -o -mw"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 CPPFLAGS="-DRV_TRACE_LEVEL_WARNING=2 -DTOOL_CHOICE=0 -D_TMS470"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 # Includes
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 CPPFLAGS="$CPPFLAGS -I../config"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 CPPFLAGS="$CPPFLAGS -I.."
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/buzzer"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/ffs"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/sim"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app/uart"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rvt"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services/Audio"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/p_source0"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source0"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 # Source modules
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 SRCDIR=$SRC/cs/layer1
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 cfile_plain $SRCDIR/cfile/l1_pwmgr.c
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56 cfile_plain $SRCDIR/cfile/l1_afunc.c
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 cfile_plain $SRCDIR/cfile/l1_trace.c
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 cfile_plain $SRCDIR/cfile/l1_init.c
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 cfile_plain $SRCDIR/cfile/l1_sync.c
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 cfile_plain $SRCDIR/cfile/l1_cmplx.c
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61
235
53b797cd3c12 components/l1_{ext,int}: compile the recently deblobbed l1audio & l1tm
Mychaela Falconia <falcon@freecalypso.org>
parents: 72
diff changeset
62 cfile_plain $SRCDIR/tm_cfile/l1tm_async.c
53b797cd3c12 components/l1_{ext,int}: compile the recently deblobbed l1audio & l1tm
Mychaela Falconia <falcon@freecalypso.org>
parents: 72
diff changeset
63 cfile_plain $SRCDIR/tm_cfile/l1tm_func.c
53b797cd3c12 components/l1_{ext,int}: compile the recently deblobbed l1audio & l1tm
Mychaela Falconia <falcon@freecalypso.org>
parents: 72
diff changeset
64 cfile_plain $SRCDIR/tm_cfile/l1tm_stats.c
53b797cd3c12 components/l1_{ext,int}: compile the recently deblobbed l1audio & l1tm
Mychaela Falconia <falcon@freecalypso.org>
parents: 72
diff changeset
65
53b797cd3c12 components/l1_{ext,int}: compile the recently deblobbed l1audio & l1tm
Mychaela Falconia <falcon@freecalypso.org>
parents: 72
diff changeset
66 cfile_plain $SRCDIR/audio_cfile/l1audio_async.c
53b797cd3c12 components/l1_{ext,int}: compile the recently deblobbed l1audio & l1tm
Mychaela Falconia <falcon@freecalypso.org>
parents: 72
diff changeset
67 cfile_plain $SRCDIR/audio_cfile/l1audio_afunc.c
53b797cd3c12 components/l1_{ext,int}: compile the recently deblobbed l1audio & l1tm
Mychaela Falconia <falcon@freecalypso.org>
parents: 72
diff changeset
68 cfile_plain $SRCDIR/audio_cfile/l1audio_init.c
53b797cd3c12 components/l1_{ext,int}: compile the recently deblobbed l1audio & l1tm
Mychaela Falconia <falcon@freecalypso.org>
parents: 72
diff changeset
69 cfile_plain $SRCDIR/audio_cfile/l1audio_drive.c
53b797cd3c12 components/l1_{ext,int}: compile the recently deblobbed l1audio & l1tm
Mychaela Falconia <falcon@freecalypso.org>
parents: 72
diff changeset
70 cfile_plain $SRCDIR/audio_cfile/l1audio_back.c
53b797cd3c12 components/l1_{ext,int}: compile the recently deblobbed l1audio & l1tm
Mychaela Falconia <falcon@freecalypso.org>
parents: 72
diff changeset
71 cfile_plain $SRCDIR/audio_cfile/l1audio_abb.c
72
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72
304
cc0426509943 components/l1_{ext,int}: no need to compile the L1_GTT dummies
Mychaela Falconia <falcon@freecalypso.org>
parents: 303
diff changeset
73 #cfile_plain $SRCDIR/gtt_cfile/l1gtt_async.c
cc0426509943 components/l1_{ext,int}: no need to compile the L1_GTT dummies
Mychaela Falconia <falcon@freecalypso.org>
parents: 303
diff changeset
74 #cfile_plain $SRCDIR/gtt_cfile/l1gtt_sync.c
cc0426509943 components/l1_{ext,int}: no need to compile the L1_GTT dummies
Mychaela Falconia <falcon@freecalypso.org>
parents: 303
diff changeset
75 #cfile_plain $SRCDIR/gtt_cfile/l1gtt_func.c
cc0426509943 components/l1_{ext,int}: no need to compile the L1_GTT dummies
Mychaela Falconia <falcon@freecalypso.org>
parents: 303
diff changeset
76 #cfile_plain $SRCDIR/gtt_cfile/l1gtt_drive.c
cc0426509943 components/l1_{ext,int}: no need to compile the L1_GTT dummies
Mychaela Falconia <falcon@freecalypso.org>
parents: 303
diff changeset
77 #cfile_plain $SRCDIR/gtt_cfile/l1gtt_init.c
cc0426509943 components/l1_{ext,int}: no need to compile the L1_GTT dummies
Mychaela Falconia <falcon@freecalypso.org>
parents: 303
diff changeset
78 #cfile_plain $SRCDIR/gtt_cfile/l1gtt_back.c
cc0426509943 components/l1_{ext,int}: no need to compile the L1_GTT dummies
Mychaela Falconia <falcon@freecalypso.org>
parents: 303
diff changeset
79 #cfile_plain $SRCDIR/gtt_cfile/l1gtt_baudot_functions.c
cc0426509943 components/l1_{ext,int}: no need to compile the L1_GTT dummies
Mychaela Falconia <falcon@freecalypso.org>
parents: 303
diff changeset
80 #cfile_plain $SRCDIR/gtt_cfile/ctm/conv_encoder.c
cc0426509943 components/l1_{ext,int}: no need to compile the L1_GTT dummies
Mychaela Falconia <falcon@freecalypso.org>
parents: 303
diff changeset
81 #cfile_plain $SRCDIR/gtt_cfile/ctm/conv_poly.c
cc0426509943 components/l1_{ext,int}: no need to compile the L1_GTT dummies
Mychaela Falconia <falcon@freecalypso.org>
parents: 303
diff changeset
82 #cfile_plain $SRCDIR/gtt_cfile/ctm/ctm_receiver.c
cc0426509943 components/l1_{ext,int}: no need to compile the L1_GTT dummies
Mychaela Falconia <falcon@freecalypso.org>
parents: 303
diff changeset
83 #cfile_plain $SRCDIR/gtt_cfile/ctm/ctm_transmitter.c
cc0426509943 components/l1_{ext,int}: no need to compile the L1_GTT dummies
Mychaela Falconia <falcon@freecalypso.org>
parents: 303
diff changeset
84 #cfile_plain $SRCDIR/gtt_cfile/ctm/diag_interleaver.c
cc0426509943 components/l1_{ext,int}: no need to compile the L1_GTT dummies
Mychaela Falconia <falcon@freecalypso.org>
parents: 303
diff changeset
85 #cfile_plain $SRCDIR/gtt_cfile/ctm/m_sequence.c
cc0426509943 components/l1_{ext,int}: no need to compile the L1_GTT dummies
Mychaela Falconia <falcon@freecalypso.org>
parents: 303
diff changeset
86 #cfile_plain $SRCDIR/gtt_cfile/ctm/ucs_functions.c
cc0426509943 components/l1_{ext,int}: no need to compile the L1_GTT dummies
Mychaela Falconia <falcon@freecalypso.org>
parents: 303
diff changeset
87 #cfile_plain $SRCDIR/gtt_cfile/ctm/diag_deinterleaver.c
cc0426509943 components/l1_{ext,int}: no need to compile the L1_GTT dummies
Mychaela Falconia <falcon@freecalypso.org>
parents: 303
diff changeset
88 #cfile_plain $SRCDIR/gtt_cfile/ctm/fifo.c
cc0426509943 components/l1_{ext,int}: no need to compile the L1_GTT dummies
Mychaela Falconia <falcon@freecalypso.org>
parents: 303
diff changeset
89 #cfile_plain $SRCDIR/gtt_cfile/ctm/init_interleaver.c
303
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
90
395
11e279107681 Magnetite fw can now be compiled to target Calypso C05 (F741979B) silicon
Mychaela Falconia <falcon@freecalypso.org>
parents: 304
diff changeset
91 if [ "$L1_DYN_DSP_DWNLD" = 1 ]
11e279107681 Magnetite fw can now be compiled to target Calypso C05 (F741979B) silicon
Mychaela Falconia <falcon@freecalypso.org>
parents: 304
diff changeset
92 then
11e279107681 Magnetite fw can now be compiled to target Calypso C05 (F741979B) silicon
Mychaela Falconia <falcon@freecalypso.org>
parents: 304
diff changeset
93 cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_afunc.c
11e279107681 Magnetite fw can now be compiled to target Calypso C05 (F741979B) silicon
Mychaela Falconia <falcon@freecalypso.org>
parents: 304
diff changeset
94 cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_async.c
11e279107681 Magnetite fw can now be compiled to target Calypso C05 (F741979B) silicon
Mychaela Falconia <falcon@freecalypso.org>
parents: 304
diff changeset
95 cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_init.c
11e279107681 Magnetite fw can now be compiled to target Calypso C05 (F741979B) silicon
Mychaela Falconia <falcon@freecalypso.org>
parents: 304
diff changeset
96 cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_sync.c
11e279107681 Magnetite fw can now be compiled to target Calypso C05 (F741979B) silicon
Mychaela Falconia <falcon@freecalypso.org>
parents: 304
diff changeset
97 cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_apihisr.c
11e279107681 Magnetite fw can now be compiled to target Calypso C05 (F741979B) silicon
Mychaela Falconia <falcon@freecalypso.org>
parents: 304
diff changeset
98 cfile_plain $SRCDIR/dyn_dwl_cfile/l1_dyn_dwl_func.c
11e279107681 Magnetite fw can now be compiled to target Calypso C05 (F741979B) silicon
Mychaela Falconia <falcon@freecalypso.org>
parents: 304
diff changeset
99 cfile_plain $SRCDIR/dsp1/Dyn_dwnld/tty_patch_file36_10.c
11e279107681 Magnetite fw can now be compiled to target Calypso C05 (F741979B) silicon
Mychaela Falconia <falcon@freecalypso.org>
parents: 304
diff changeset
100 cfile_plain $SRCDIR/dsp1/Dyn_dwnld/amr_mms_patch_file36_10.c
11e279107681 Magnetite fw can now be compiled to target Calypso C05 (F741979B) silicon
Mychaela Falconia <falcon@freecalypso.org>
parents: 304
diff changeset
101 cfile_plain $SRCDIR/dsp1/Dyn_dwnld/amr_sch_patch_file36_10.c
11e279107681 Magnetite fw can now be compiled to target Calypso C05 (F741979B) silicon
Mychaela Falconia <falcon@freecalypso.org>
parents: 304
diff changeset
102 cfile_plain $SRCDIR/dsp1/Dyn_dwnld/e2_patch_file36_10.c
11e279107681 Magnetite fw can now be compiled to target Calypso C05 (F741979B) silicon
Mychaela Falconia <falcon@freecalypso.org>
parents: 304
diff changeset
103 cfile_plain $SRCDIR/dsp1/Dyn_dwnld/speech_acoustic_patch_file36_10.c
11e279107681 Magnetite fw can now be compiled to target Calypso C05 (F741979B) silicon
Mychaela Falconia <falcon@freecalypso.org>
parents: 304
diff changeset
104 cfile_plain $SRCDIR/dsp1/Dyn_dwnld/gprs_patch_file36_10.c
11e279107681 Magnetite fw can now be compiled to target Calypso C05 (F741979B) silicon
Mychaela Falconia <falcon@freecalypso.org>
parents: 304
diff changeset
105 cfile_plain $SRCDIR/dsp1/patch_file36_10_dyn_dwl.c
11e279107681 Magnetite fw can now be compiled to target Calypso C05 (F741979B) silicon
Mychaela Falconia <falcon@freecalypso.org>
parents: 304
diff changeset
106 else
11e279107681 Magnetite fw can now be compiled to target Calypso C05 (F741979B) silicon
Mychaela Falconia <falcon@freecalypso.org>
parents: 304
diff changeset
107 cfile_plain $SRCDIR/dsp1/patch_file${DSP}_${CHIPSET}.c
11e279107681 Magnetite fw can now be compiled to target Calypso C05 (F741979B) silicon
Mychaela Falconia <falcon@freecalypso.org>
parents: 304
diff changeset
108 fi
11e279107681 Magnetite fw can now be compiled to target Calypso C05 (F741979B) silicon
Mychaela Falconia <falcon@freecalypso.org>
parents: 304
diff changeset
109
72
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
110 cfile_plain $SRCDIR/dsp1/leadboot.c
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
111
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
112 if [ "$GPRS" = 1 ]
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
113 then
303
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
114 cfile_plain $SRCDIR/p_cfile/l1p_afun.c
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
115 cfile_plain $SRCDIR/p_cfile/l1p_asyn.c
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
116 cfile_plain $SRCDIR/p_cfile/l1p_cmpl.c
129a4f99511a compile L1_GPRS modules from source
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
117 cfile_plain $SRCDIR/p_cfile/l1p_sync.c
72
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
118 fi
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
119
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
120 # Different CFLAGS for l1_small.c
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
121
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
122 CFLAGS="-g -me -pw2 -mw"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
123
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
124 cfile_plain $SRCDIR/cfile/l1_small.c
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
125
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
126 # Different again for l1_async.c
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
127
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
128 CFLAGS="-g -me -pw2 -mt -mw -o1"
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
129
832b4be80ed9 recompilation of l1_ext.lib works
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
130 cfile_plain $SRCDIR/cfile/l1_async.c