annotate src/g23m-aci/ati_ext/ati_ext_mech.h @ 673:62a5285e014a

Lorekeeping: allow tpudrv-leonardo.lib on Leonardo/Tango Back in 2015 the Mother's idea was to produce a FreeCalypso development board that would be a clone of TI Leonardo, including the original quadband RFFE; one major additional stipulation was that this board needed to be able to run original unmodified TCS211-20070608 firmware with all blobs intact, with only minimal binary patches to main.lib and tpudrv.lib. The necessary patched libs were produced at that time in the tcs211-patches repository. That plan was changed and we produced FCDEV3B instead, with Openmoko's triband RFFE instead of Leonardo quadband, but when FC Magnetite started in 2016, a TPUDRV_blob= provision was still made, allowing the possibility of patching OM's tpudrv.lib for a restored Leonardo RFFE. Now in 2020 we have FC Tango which is essentially a verbatim clone of Leonardo core, including the original quadband RFFE. We have also deblobbed our firmware so much that we have absolutely no real need for a blob version of tpudrv.lib - but I thought it would be neat to put the ancient TPUDRV_blob= mechanism (classic config) to its originally intended use, just for the heck of it.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 29 May 2020 03:55:36 +0000
parents 2948924c8299
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
163
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 +-----------------------------------------------------------------------------
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 | Project :
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 | Modul : J:\g23m-aci\aci_ext\aci_ext_pers.h
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 +-----------------------------------------------------------------------------
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 | Copyright 2002 Texas Instruments Berlin, AG
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 | All rights reserved.
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 |
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 | This file is confidential and a trade secret of Texas
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 | Instruments Berlin, AG
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 | The receipt of or possession of this file does not convey
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 | any rights to reproduce or disclose its contents or to
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 | manufacture, use, or sell anything it may describe, in
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 | whole, or in part, without the specific written consent of
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 | Texas Instruments Berlin, AG.
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 +-----------------------------------------------------------------------------
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 | Purpose : This is the header file of the AT command extension mechanism.
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 +-----------------------------------------------------------------------------
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 */
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 #ifndef ATI_EXT_MECH_H
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 #define ATI_EXT_MECH_H
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 /* ACI extension definitions */
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 /* Globals ------------------------------------------------------------------------------ */
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 typedef enum
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 {
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 ATI_EXT_FAIL = -1, /* execution failed, error occurred */
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 ATI_EXT_CMPL, /* execution completed */
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 ATI_EXT_EXCT, /* execution is in progress */
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 ATI_EXT_BUSY /* execution is rejected due to a busy extension mechanism*/
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 } T_ATI_EXT_RETURN;
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 /* prototypes of functions.-------------------------------------- */
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 EXTERN char *parse (char *b, char *f, ...);
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 EXTERN void ext_OK_v2 ( T_ACI_AT_CMD cmdId );
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 EXTERN T_ATI_EXT_RETURN rEXT_Init ();
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 EXTERN T_ATI_EXT_RETURN rEXT_Execute (UBYTE src_id, CHAR *cmd);
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 EXTERN T_ATI_EXT_RETURN rEXT_Abort (UBYTE src_id);
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 EXTERN T_ATI_EXT_RETURN rEXT_Signal (T_ACI_EXT_IND *aci_ext_ind);
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 #ifdef FF_BAT
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 #include "p_bat.h"
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 EXTERN T_ATI_EXT_RETURN rEXT_Response_BAT (UBYTE src_id, T_BAT_cmd_response *resp);
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 #endif
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 #endif /* ATI_EXT_MECH_H */