FreeCalypso > hg > fc-magnetite
view src/cs/system/main/sys_ver.h @ 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 | 838eeafb0051 |
| children |
line wrap: on
line source
/******************************************************************************* * * SYS_VER.H * * This module defines the S/W versions for: * - TI Layer1, * - Condat G.2-3, * - TI Ref. Design Release (GSM Platform Software Team). * * (C) Texas Instruments 2000 * ******************************************************************************/ /* * TI Layer1 S/W Version */ #include "l1_ver.h" #include "l1p_ver.h" #include "l1tm_ver.h" /* * Condat G.2-3 GSM/GPRS New Frame S/W Version */ //#define G23VERSION 0x122 //#define G23VERSION 0x130 //#define G23VERSION 0x131 //#define G23VERSION 0x132 //#define G23VERSION 0x1322 //#define G23VERSION 0x1323 //#define G23VERSION 0x133 // 133e1p4 //#define G23VERSION 0x1331 // Snapshot 15 //#define G23VERSION 0x1334 // Snapshot 48 //#define G23VERSION 0x140 // 140p2 //#define G23VERSION 0x140 // Snapshot 175 //#define G23VERSION 0x140 // Snapshot 192 //#define G23VERSION 0x140 // Snapshot 211 //#define G23VERSION 0x140 // Snapshot 222 //#define G23VERSION 0x140 // Snapshot 237 //#define G23VERSION 0x140 // Snapshot 296 #define G23VERSION 0x140 // Snapshot 301 /* * TI Ref. Design Release */ //#define SYSTEMVERSION 0x100 // Works with Condat 3.2.0 & Layer1 1326 Port.14 // Released on June 9th 00 // First delivery on B-Sample board //#define SYSTEMVERSION 0x110 // Works with Condat 3.2.0 & Layer1 1326 Port.14 // Released on July 12th 00 // Added AEC, ADC, AT-Cmd, Serialswitch //#define SYSTEMVERSION 0x200 // Works with Condat 3.2.1 & Layer1 1332 Port.14 // Released on August 16th 00 // Added TM3, Voice Memo - Pre-FTA version //#define SYSTEMVERSION 0x210 // Works with Condat 3.2.2 & Layer1 1332 Port.14 // Released on September 13th 00 // Added F&D, Big Sleep //#define SYSTEMVERSION 0x300 // Works with Condat 3.2.2 & Layer1 1332 Port.14 // Released on November 27th 00 // Added FFS, VM in Flash, Riviera Environment, // New SPI and LCD drivers, Deep Sleep //#define SYSTEMVERSION 0x301 // Works with Condat 3.3.0 & Layer1 1332 Port.14 // Released on January 23th 01 // Added Multi VM in Flash, UARTs wake-up after // deep sleep, Stack Monitoring //#define SYSTEMVERSION 0x302 // Works with Condat 3.3.0 & Layer1 1332 Port.14 // Released on April 9th 01 // New Trace Integration, Testmode PCTM rework //#define SYSTEMVERSION 0x320 // Works with Condat 3.3.2 & Layer1 1352 // Released on June 29th 01 // New Layer1 Integration, Testmode PCTM rework, // Audio + RTC SW entities // FFS single bank //#define SYSTEMVERSION 0x520 // Works with Condat GPRS 1.2.2 & Layer1 1354 // First external GPRS release // Released on July 31th 01 //#define SYSTEMVERSION 0x530 // Works with Condat GSM 3.3.3 & Layer1 1354 // Released on Sept 11th 01 // Works with Condat GPRS 1.3.0 & Layer1 1354 //#define SYSTEMVERSION 0x531 // Works with Condat GPRS 1.3.1 & Layer1 1366_112_404 // Released on Nov 16th 01 // New Layer1 Integration, Appli Init rework, // Riviera v1.6, Serialswitch rework, DCD/DTR // support in UARTFAX // DAR + KPD + PWR + R2D SW entities //#define SYSTEMVERSION 0x532 // Works with Condat GPRS 1.3.2 & Layer1 1372_115_404 // Released on Feb 06th 02 // New Layer1 Integration, Riviera v1.61, Audio Name // Dialing & Configuration, RGUI SW entities //#define SYSTEMVERSION 0x533 // Works with Condat GPRS 1.3.2.2 & Layer1 1379_120_404 // Released on March 29th 02 // Melody E2 first step and D-Sample IOTA support //#define SYSTEMVERSION 0x540 // Works with Condat GPRS 1.3.3e1p4 & Layer1 1386_124_405 // Released on July 19th 02 #define SYSTEMVERSION 0x542
