FreeCalypso > hg > fc-magnetite
annotate scripts/cfg-template @ 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 | 3d772a6268c4 |
children | 8cf3029429f3 |
rev | line source |
---|---|
387
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 [board.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 BOARD 41 |
451
fd1d9063ad40
config mechanism: added ability to build D-Sample B&W UI configuration
Mychaela Falconia <falcon@freecalypso.org>
parents:
387
diff
changeset
|
4 DSAMPLE_FULL_COLOR var |
387
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 [chipset.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ANLG_FAM 2 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ANLG_PG 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 CHIPSET var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 [debug.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 TI_NUC_MONITOR 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 TI_PROFILER 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 [dio.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 DIOIL_CONFIG 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 [ffs.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 TARGET 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 _RVF 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 [l1sw.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 AMR var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 CUST 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 DCO_ALGO 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 IDS var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 L1_12NEIGH 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 L1_EOTD 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 L1_EOTD_QBIT_ACC 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 L1_GPRS var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 L1_GTT 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 L1_MIDI 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 L1_VOICE_MEMO_AMR var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 MELODY_E2 var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 OP_L1_STANDALONE 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 OP_RIV_AUDIO 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 ORDER2_TX_TEMP_CAL 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 RAZ_VULSWITCH_REGAUDIO 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 SECURITY 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 SPEECH_RECO var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 TESTMODE 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 TRACE_TYPE 4 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 VCXO_ALGO 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 [r2d.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 R2D_ASM 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 R2D_LCD_TEST 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 [rf.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 RF var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 RF_FAM var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 RF_PA var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 RF_PG var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 [rv.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 RVTOOL 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 TEST 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 _GSM 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 [swconfig.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 ALR 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 BT 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 DP 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 DWNLD 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 GSMLITE 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 L1_DYN_DSP_DWNLD var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 LONG_JUMP 3 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 MOVE_IN_INTERNAL_RAM 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78 OP_WCP 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 PMODE var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 RVDATA_INTERNALRAM 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 SRVC var |
456
3d772a6268c4
config mechanism: allow TR_BAUD_CONFIG to be set on ./configure.sh line
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
82 TR_BAUD_CONFIG var |
387
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 WCP_PROF 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 [sys.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 DSP var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 STD 6 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 [trace.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
92 LAYER_DBG 0xFFFFFFFF |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 TRACE_LEVEL_FILTER 5 |