annotate src/configuration.inc @ 630:4cd81bdbf15c

3.08 stable release
author heinrichsweikamp
date Fri, 21 Feb 2020 10:51:36 +0100
parents 237931377539
children 185ba2f91f59
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 ;
629
237931377539 3.07 stable release
heinrichsweikamp
parents: 628
diff changeset
4 ; File configuration.inc combined next generation V3.06.2
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 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
18 ; softwareversion_x firmware version, major (1 - 9)
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
19 ; softwareversion_y firmware version, minor (0 - 99)
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
20 ; softwareversion_beta 0= Release, 1= Beta 1, 2= Beta 2, ... (0 - 255)
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
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
26 #define softwareversion_x 0x03
630
4cd81bdbf15c 3.08 stable release
heinrichsweikamp
parents: 629
diff changeset
27 #define softwareversion_y 0x08
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
28 #define softwareversion_beta 0x00
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
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
45 #define firmware_creation_year 0x13
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
46 #define firmware_creation_month 0x08
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
47 #define firmware_creation_day 0x0a
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
48
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
49 #define firmware_expire_year 0x14
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
50 #define firmware_expire_month 0x0a
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
51 #define firmware_expire_day 0x1f
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 ;
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
59 ; _hwos_tech_2_TR compile Tech version for OSTC 2, Plus and TR (1 language only ) memory: 122.054 used, 884 free
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
60 ; _hwos_tech_3_cR compile Tech version for OSTC 3 and cR (2 languages possible) memory: 118.148 used, 4.790 free (with 1 language only)
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
61 ; _hwos_sport compile Sport version for all models (2 languages possible) memory: 115.764 used, 7.174 free (with 1 language only)
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
62 #endif
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
63
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
64 #define _hwos_tech_3_cR
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
65
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
66
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
67 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
68 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
69 ; Language Selection
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
70 ; ------------------
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
71 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
72 ; _language_1 first or single language,
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
73 ; set to 'en', 'de', 'fr', or 'it', defaults to 'en'
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
74 ;
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
75 ; _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
76 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
77 #endif
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
78
630
4cd81bdbf15c 3.08 stable release
heinrichsweikamp
parents: 629
diff changeset
79 #define _language_1 en
4cd81bdbf15c 3.08 stable release
heinrichsweikamp
parents: 629
diff changeset
80 #define _language_2 de
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
81
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
82
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
83 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
84 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
85 ; Features Selection
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
86 ; ------------------
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
87 ;
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
88 ; _screendump screen dump function mem: 338 byte
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
89 ; _compass compass function mem: 10.488 byte
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
90 ; _rx_functions RX functions (OSTC TR) mem: 4.886 byte
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
91 ; _rx_update updates RX firmware 1) mem: 2.472 byte
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
92 ; _helium Helium (Trimix) gases and diluents mem: 2.182 byte
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
93 ; _ccr_pscr loop modes CCR and pSCR mem: 4.110 byte
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
94 ; _external_sensor external sensor for CCR & pSCR 2) mem: 3.452 byte
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
95 ; _gauge_mode gauge mode mem: 30 byte when _not_ included
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
96 ; _high_ppO2_max raised ppO2 max limit (2.0 bar) mem: 0 byte
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
97 ; _cave_mode cave mode way-out calculation mem: byte ## under construction yet ##
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
98 ; _min_depth_option resettable min. and max. depth mem: 394 byte ## special user group only ##
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
99 ; _gas_contingency continue deco on other gases mem: 452 byte ## special user group only ##
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
100 ;
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
101 ; 1) needs _rx_functions to be included, too / can not be included without _rx_functions
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
102 ; 2) needs _ccr_pscr to be included, too / can not be included without _ccr_pscr
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
103 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
104 ; NOTES: - Exclude options by prepending NOT_INCLUDED to the label.
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
105 ; - Not all options will fit concurrently if two languages are slected.
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
106 ; - Option sizes are based on single language (english), will increase
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
107 ; with 2nd language and will differ slightly between languages.
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
108 #endif
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
109
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
110
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
111 #ifdef _hwos_tech_2_TR
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
112
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
113 #define _screendump
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
114 #define _compass
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
115 #define _rx_functions
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
116 #define _rx_update
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
117 #define _helium
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
118 #define _ccr_pscr
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
119 #define _gauge_mode
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
120 #define _high_ppO2_max
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
121
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
122
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
123 #define NOT_INCLUDED_external_sensor
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
124 #define NOT_INCLUDED_cave_mode
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
125 #define NOT_INCLUDED_min_depth_option
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
126
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
127 #endif
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
128
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
129
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
130 #ifdef _hwos_tech_3_cR
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
131
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
132 #define NOT_INCLUDED_screendump
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
133 #define _compass
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
134 #define _helium
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
135 #define _ccr_pscr
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
136 #define _external_sensor
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
137 #define _gauge_mode
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
138 #define _high_ppO2_max
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
139 #define _gas_contingency
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
140
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
141 #define NOT_INCLUDED_rx_functions
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
142 #define NOT_INCLUDED_rx_update
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
143 #define NOT_INCLUDED_cave_mode
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
144 #define NOT_INCLUDED_min_depth_option
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
145
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
146 #endif
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
147
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
148
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
149 #ifdef _hwos_sport
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
150
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
151 #define _screendump
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
152 #define _compass
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
153 #define _rx_functions
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
154 #define _rx_update
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
155 #define NOT_INCLUDED_helium
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
156 #define NOT_INCLUDED_ccr_pscr
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
157 #define NOT_INCLUDED_external_sensor
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
158
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
159 #define NOT_INCLUDED_gauge_mode
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
160 #define NOT_INCLUDED_high_ppO2_max
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
161 #define NOT_INCLUDED_cave_mode
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
162 #define NOT_INCLUDED_min_depth_option
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
163
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
164 #endif
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
165
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
166
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
167 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
168 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
169 ; Debug Modes
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
170 ; -----------
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
171 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
172 ; _DEBUG put firmware in a global debug mode default: not included
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
173 ; _debug_output debug outputs (for performance) default: not included
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
174 ; _profiling deco engine performance measurements default: not included
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
175 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
176 ; NOTE: - Exclude options by prepending NOT_INCLUDED to the label.
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
177 ;
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
178 #endif
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
179
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
180 #define NOT_INCLUDED_DEBUG
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
181 #define NOT_INCLUDED_debug_output
c40025d8e750 3.03 beta released
heinrichsweikamp
parents:
diff changeset
182 #define NOT_INCLUDED_profiling
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
183
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
184
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
185
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
186
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
187
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
188 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
189 ;
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
190 ; Software Configuration
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
191 ;
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
192 #endif
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
193
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
194 #ifdef _screendump
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
195 #define SW_CONF_1 0x01
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
196 #else
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
197 #define SW_CONF_1 0x00
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
198 #endif
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
199
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
200 #ifdef _compass
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
201 #define SW_CONF_2 0x02
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
202 #else
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
203 #define SW_CONF_2 0x00
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
204 #endif
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
205
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
206 #ifdef _rx_functions
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
207 #define SW_CONF_3 0x04
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
208 #else
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
209 #define SW_CONF_3 0x00
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
210 #endif
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
211
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
212 #ifdef _rx_update
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
213 #define SW_CONF_4 0x08
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
214 #else
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
215 #define SW_CONF_4 0x00
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
216 #endif
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
217
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
218 #ifdef _helium
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
219 #define SW_CONF_5 0x10
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
220 #else
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
221 #define SW_CONF_5 0x00
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
222 #endif
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
223
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
224 #ifdef _ccr_pscr
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
225 #define SW_CONF_6 0x20
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
226 #else
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
227 #define SW_CONF_6 0x00
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
228 #endif
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
229
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
230 #ifdef _external_sensor
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
231 #define SW_CONF_7 0x40
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
232 #else
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
233 #define SW_CONF_7 0x00
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
234 #endif
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
235
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
236 #ifdef _cave_mode
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
237 #define SW_CONF_8 0x80
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
238 #else
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
239 #define SW_CONF_8 0x00
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
240 #endif
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
241
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents: 623
diff changeset
242 #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