FreeCalypso > hg > fc-magnetite
annotate components/r2d_drv_flash @ 600:8f50b202e81f
board preprocessor conditionals: prep for more FC hw in the future
This change eliminates the CONFIG_TARGET_FCDEV3B preprocessor symbol and
all preprocessor conditionals throughout the code base that tested for it,
replacing them with CONFIG_TARGET_FCFAM or CONFIG_TARGET_FCMODEM. These
new symbols are specified as follows:
CONFIG_TARGET_FCFAM is intended to cover all hardware designs created by
Mother Mychaela under the FreeCalypso trademark. This family will include
modem products (repackagings of the FCDEV3B, possibly with RFFE or even
RF transceiver changes), and also my desired FreeCalypso handset product.
CONFIG_TARGET_FCMODEM is intended to cover all FreeCalypso modem products
(which will be firmware-compatible with the FCDEV3B if they use TI Rita
transceiver, or will require a different fw build if we switch to one of
Silabs Aero transceivers), but not the handset product. Right now this
CONFIG_TARGET_FCMODEM preprocessor symbol is used to conditionalize
everything dealing with MCSI.
At the present moment the future of FC hardware evolution is still unknown:
it is not known whether we will ever have any beyond-FCDEV3B hardware at all
(contingent on uncertain funding), and if we do produce further FC hardware
designs, it is not known whether they will retain the same FIC modem core
(triband), if we are going to have a quadband design that still retains the
classic Rita transceiver, or if we are going to switch to Silabs Aero II
or some other transceiver. If we produce a quadband modem that still uses
Rita, it will run exactly the same fw as the FCDEV3B thanks to the way we
define TSPACT signals for the RF_FAM=12 && CONFIG_TARGET_FCFAM combination,
and the current fcdev3b build target will be renamed to fcmodem. OTOH, if
that putative quadband modem will be Aero-based, then it will require a
different fw build target, the fcdev3b target will stay as it is, and the
two targets will both define CONFIG_TARGET_FCFAM and CONFIG_TARGET_FCMODEM,
but will have different RF_FAM numbers. But no matter which way we are
going to evolve, it is not right to have conditionals on CONFIG_TARGET_FCDEV3B
in places like ACI, and the present change clears the way for future
evolution.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 01 Apr 2019 01:05:24 +0000 |
parents | b8fc86826624 |
children |
rev | line source |
---|---|
117
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # Building r2d_drv_flash.lib |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 CFLAGS="-mn -mt -mf -o2 -x -mw -me -pw2" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 # Includes |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 CPPFLAGS="$CPPFLAGS -I.." |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 CPPFLAGS="$CPPFLAGS -I../config" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 # Source modules |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 SRCDIR=$SRC/cs/drivers/drv_app/r2d |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 cfile_plain $SRCDIR/r2d.c |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 cfile_plain $SRCDIR/r2d_env.c |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 cfile_plain $SRCDIR/r2d_i.c |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 cfile_plain $SRCDIR/r2d_inits.c |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 cfile_plain $SRCDIR/r2d_task.c |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 # New sourceset |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 CFLAGS="-mn -mt -mw -me -pw2" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 # Includes |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 CPPFLAGS="$CPPFLAGS -I.." |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 CPPFLAGS="$CPPFLAGS -I../config" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 # Source modules |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 cfile_plain $SRCDIR/lcd_gsm_ps_api.c |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 cfile_plain $SRCDIR/lcd_functions.c |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 cfile_plain $SRCDIR/lcd_messages.c |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 cfile_plain $SRCDIR/lcd_process.c |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
92 |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 # New sourceset |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
94 |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
95 CFLAGS="-mn -mt -o2 -x -mw -me -pw2" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
96 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
97 |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
98 # Includes |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
99 |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
100 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
101 CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
102 CPPFLAGS="$CPPFLAGS -I.." |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
103 CPPFLAGS="$CPPFLAGS -I../config" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
104 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
105 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
106 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
107 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
108 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
109 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
110 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
111 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
112 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
113 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
114 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
115 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
116 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
117 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
118 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
119 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
120 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
121 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
122 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
123 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
124 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
125 |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
126 # Source modules |
f65e6c434bfb
r2d_drv_flash.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
127 |
132
b8fc86826624
R2D: C139 LCD driver enabled
Mychaela Falconia <falcon@freecalypso.org>
parents:
117
diff
changeset
|
128 #cfile_plain $SRCDIR/board/uwire.c |
b8fc86826624
R2D: C139 LCD driver enabled
Mychaela Falconia <falcon@freecalypso.org>
parents:
117
diff
changeset
|
129 |
b8fc86826624
R2D: C139 LCD driver enabled
Mychaela Falconia <falcon@freecalypso.org>
parents:
117
diff
changeset
|
130 # FreeCalypso change: TI's TCS211 build always includes uwire.c in the lib, |
b8fc86826624
R2D: C139 LCD driver enabled
Mychaela Falconia <falcon@freecalypso.org>
parents:
117
diff
changeset
|
131 # but we are currently excluding it unconditionally because none of our |
b8fc86826624
R2D: C139 LCD driver enabled
Mychaela Falconia <falcon@freecalypso.org>
parents:
117
diff
changeset
|
132 # supported configurations need it: on the C139 this code is wrong and MUST |
b8fc86826624
R2D: C139 LCD driver enabled
Mychaela Falconia <falcon@freecalypso.org>
parents:
117
diff
changeset
|
133 # be excluded, whereas the D-Sample LCD doesn't use uWire and the code never |
b8fc86826624
R2D: C139 LCD driver enabled
Mychaela Falconia <falcon@freecalypso.org>
parents:
117
diff
changeset
|
134 # gets pulled into the link even if it's included in the lib. |
b8fc86826624
R2D: C139 LCD driver enabled
Mychaela Falconia <falcon@freecalypso.org>
parents:
117
diff
changeset
|
135 # |
b8fc86826624
R2D: C139 LCD driver enabled
Mychaela Falconia <falcon@freecalypso.org>
parents:
117
diff
changeset
|
136 # The code in r2d/board/uwire.c is only needed when targeting the real |
b8fc86826624
R2D: C139 LCD driver enabled
Mychaela Falconia <falcon@freecalypso.org>
parents:
117
diff
changeset
|
137 # C-Sample (not C139 emulation) or earlier TI boards, but our build system |
b8fc86826624
R2D: C139 LCD driver enabled
Mychaela Falconia <falcon@freecalypso.org>
parents:
117
diff
changeset
|
138 # does not currently support those anyway. |