annotate src/configuration.inc @ 632:0347acdf6d8e

changelog updates
author heinrichsweikamp
date Sat, 29 Feb 2020 16:57:45 +0100
parents 185ba2f91f59
children 690c48db7b5b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
1 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
2 ; ============================================================================
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
3 ;
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
4 ; File configuration.inc combined next generation V3.08.8
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
5 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
6 ; OSTC hwOS Configuration
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
7 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
8 ; Copyright (c) 2019, HeinrichsWeikamp, all rights reserved.
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
9 ; ============================================================================
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
10 #endif
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
11
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
12
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
13 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
14 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
15 ; Firmware Version
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
16 ; ----------------
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
17 ;
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
18 ; fw_version_major firmware version, major (1 - 9)
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
19 ; fw_version_minor firmware version, minor (0 - 99)
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
20 ; fw_version_beta 0= Release, 1= Beta 1, 2= Beta 2, ... (0 - 99)
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
21 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
22 ; NOTE: all values need to be defined in hex!
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
23 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
24 #endif
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
25
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
26 #define fw_version_major 0x03
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
27 #define fw_version_minor 0x09
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
28 #define fw_version_beta 0x01
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
29
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
30
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
31 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
32 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
33 ; Firmware Creation and Expiration Date
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
34 ; -------------------------------------
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
35 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
36 ; firmware_creation_year/month/day will be used to initialize the RTC on reboot
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
37 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
38 ; firmware_expire_year/month/day will be used to show firmware version in
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
39 ; "update Firmware" style after expiry date
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
40 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
41 ; NOTE: all values need to be defined in hex!
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
42 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
43 #endif
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
44
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
45 #define firmware_creation_year 0x14
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
46 #define firmware_creation_month 0x02
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
47 #define firmware_creation_day 0x1C
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
48
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
49 #define firmware_expire_year 0x15
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
50 #define firmware_expire_month 0x01
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
51 #define firmware_expire_day 0x01
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
52
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
53
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
54 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
55 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
56 ; global Version Selection
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
57 ; ------------------------
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
58 ;
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
59 ; _hwos_tech_2_TR compile Tech version for OSTC 2, Plus and TR (1 language en ) memory: 121.832 used, 1.048 free
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
60 ; _hwos_tech_3_cR compile Tech version for OSTC 3 and cR (2 languages en+de) memory: 122.074 used, 874 free
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
61 ; _hwos_sport compile Sport version for all models (2 languages en+de) memory: 119.192 used, 3.756 free
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
62 ; 122.880 max. available
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
63 #endif
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
64
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
65 #define _hwos_tech_3_cR
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
66
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
67
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
68 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
69 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
70 ; Language Selection
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
71 ; ------------------
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
72 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
73 ; _language_1 first or single language,
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
74 ; set to 'en', 'de', 'fr', or 'it', defaults to 'en'
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
75 ;
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
76 ; _language_2 second language, coding as above or 'none' mem: approx. 4.0 kbyte in Sport, 4.228 kbyte in Tech
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
77 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
78 #endif
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
79
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
80 #define _language_1 de
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
81 #define _language_2 none
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
82
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
83
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
84 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
85 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
86 ; Features Selection
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
87 ; ------------------
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
88 ; memory requirements not up-to-date!
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
89 ; _compass compass function mem: 10.488 byte
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
90 ; _helium helium (trimix) gases and diluents mem: 2.182 byte
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
91 ; _ccr_pscr CCR & pSCR modes, basic functionality mem: 4.110 byte
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
92 ; _external_sensor CCR & pSCR modes, external sensor support mem: 3.452 byte
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
93 ; _gauge_mode gauge mode mem: 30 byte when _not_ included
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
94 ; _high_ppO2_max raised ppO2 max limit (2.0 bar) mem: 0 byte
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
95 ; _rx_functions RX function (OSTC TR) mem: 4.886 byte
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
96 ; _rx_update RX firmware update (OSTC TR) mem: 2.472 byte
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
97 ; _cave_mode cave mode return calculation mem: 720 byte
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
98 ; _gas_contingency auto-switch to alternative tanks on depleption mem: 452 byte
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
99 ; _min_depth_option resettable min. and max. depth mem: 394 byte ## special user group only ##
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
100 ; _screendump screen dump function mem: 338 byte ## special user group only ##
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
101 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
102 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
103 ; NOTES: - Exclude options by prepending NOT_INCLUDED to the label.
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
104 ; - Not all options will fit concurrently if two languages are slected.
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
105 ; - Option sizes are based on single language (english), will increase
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
106 ; with 2nd language and will differ slightly between languages.
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
107 #endif
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
108
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
109
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
110 #ifdef _hwos_tech_2_TR
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
111
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
112 #define _compass
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
113 #define _helium
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
114 #define _ccr_pscr
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
115 #define _rx_functions
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
116 #define _rx_update
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
117 #define _gauge_mode
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
118 #define _high_ppO2_max
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
119 #define NOT_INCLUDED_external_sensor
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
120 #define NOT_INCLUDED_cave_mode
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
121 #define NOT_INCLUDED_gas_contingency
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
122 #define NOT_INCLUDED_min_depth_option
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
123 #define NOT_INCLUDED_screendump
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
124
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
125 #endif
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
126
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
127
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
128 #ifdef _hwos_tech_3_cR
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
129
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
130 #define _compass
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
131 #define _helium
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
132 #define _ccr_pscr
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
133 #define _gauge_mode
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
134 #define _high_ppO2_max
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
135 #define NOT_INCLUDED_rx_functions
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
136 #define NOT_INCLUDED_rx_update
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
137 #define _external_sensor
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
138 #define _cave_mode
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
139 #define _gas_contingency
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
140 #define NOT_INCLUDED_gas_contingency
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
141 #define NOT_INCLUDED_min_depth_option
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
142 #define NOT_INCLUDED_screendump
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
143
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
144 #endif
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
145
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
146
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
147 #ifdef _hwos_sport
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
148
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
149 #define _compass
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
150 #define _gas_contingency
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
151 #define NOT_INCLUDED_helium
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
152 #define NOT_INCLUDED_ccr_pscr
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
153 #define NOT_INCLUDED_gauge_mode
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
154 #define NOT_INCLUDED_high_ppO2_max
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
155 #define _rx_functions
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
156 #define _rx_update
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
157 #define NOT_INCLUDED_external_sensor
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
158 #define NOT_INCLUDED_cave_mode
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
159 #define NOT_INCLUDED_gas_contingency
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
160 #define NOT_INCLUDED_min_depth_option
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
161 #define NOT_INCLUDED_screendump
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
162
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
163 #endif
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
164
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
165
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
166 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
167 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
168 ; Debug Modes
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
169 ; -----------
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
170 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
171 ; _DEBUG put firmware in a global debug mode default: not included
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
172 ; _profiling deco engine performance measurements default: not included
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
173 ; _debug_output performance outputs (for _profiling) default: not included
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
174 ;
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
175 ; NOTE: - Exclude options by prepending NOT_INCLUDED to the label
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
176 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
177 #endif
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
178
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
179 #define NOT_INCLUDED_DEBUG
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
180 #define NOT_INCLUDED_profiling
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
181 #define NOT_INCLUDED_debug_output
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
182
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
183
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
184 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
185 ;
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
186 ; Auto-Includes (serve functional dependencies)
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
187 ;
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
188 #endif
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
189
631
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
190 #ifdef _cave_mode
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
191 #ifndef _gas_contingency
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
192 #define _gas_contingency
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
193 #endif
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
194 #endif
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
195
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
196 #ifdef _rx_update
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
197 #ifndef _rx_functions
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
198 #define _rx_functions
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
199 #endif
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
200 #endif
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
201
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
202 #ifdef _external_sensor
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
203 #ifndef _ccr_pscr
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
204 #define _ccr_pscr
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
205 #endif
185ba2f91f59 3.09 beta 1 release
heinrichsweikamp
parents: 630
diff changeset
206 #endif
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
207
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
208
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
209 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
210 ;
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
211 ; Software Configuration
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
212 ;
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
213 #endif
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
214
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
215 #ifdef _screendump
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
216 #define SW_CONF_1 0x01
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
217 #else
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
218 #define SW_CONF_1 0x00
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
219 #endif
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
220
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
221 #ifdef _compass
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
222 #define SW_CONF_2 0x02
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
223 #else
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
224 #define SW_CONF_2 0x00
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
225 #endif
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
226
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
227 #ifdef _rx_functions
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
228 #define SW_CONF_3 0x04
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
229 #else
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
230 #define SW_CONF_3 0x00
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
231 #endif
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
232
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
233 #ifdef _rx_update
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
234 #define SW_CONF_4 0x08
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
235 #else
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
236 #define SW_CONF_4 0x00
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
237 #endif
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
238
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
239 #ifdef _helium
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
240 #define SW_CONF_5 0x10
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
241 #else
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
242 #define SW_CONF_5 0x00
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
243 #endif
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
244
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
245 #ifdef _ccr_pscr
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
246 #define SW_CONF_6 0x20
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
247 #else
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
248 #define SW_CONF_6 0x00
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
249 #endif
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
250
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
251 #ifdef _external_sensor
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
252 #define SW_CONF_7 0x40
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
253 #else
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
254 #define SW_CONF_7 0x00
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
255 #endif
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
256
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
257 #ifdef _cave_mode
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
258 #define SW_CONF_8 0x80
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
259 #else
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
260 #define SW_CONF_8 0x00
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
261 #endif
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
262
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
263 #define SW_CONF SW_CONF_1 + SW_CONF_2 + SW_CONF_3 + SW_CONF_4 + SW_CONF_5 + SW_CONF_6 + SW_CONF_7 + SW_CONF_8