Mercurial > public > hwos_code
comparison src/configuration.inc @ 640:8c1f1f334275
3.13 release
author | heinrichsweikamp |
---|---|
date | Thu, 29 Oct 2020 09:29:15 +0100 |
parents | 0ff82370991d |
children | 1212d39c9f6f 7d8a4c60ec1a 5b7fe7777425 |
comparison
equal
deleted
inserted
replaced
639:0ff82370991d | 640:8c1f1f334275 |
---|---|
1 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | 1 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2 ; ============================================================================ | 2 ; ============================================================================ |
3 ; | 3 ; |
4 ; File configuration.inc * combined next generation V3.09.5 | 4 ; File configuration.inc * combined next generation V3.12.3 |
5 ; | 5 ; |
6 ; OSTC hwOS Configuration | 6 ; OSTC hwOS Configuration |
7 ; | 7 ; |
8 ; Copyright (c) 2019, HeinrichsWeikamp, all rights reserved. | 8 ; Copyright (c) 2019, HeinrichsWeikamp, all rights reserved. |
9 ; ============================================================================ | 9 ; ============================================================================ |
22 ; NOTE: all values need to be defined in hex! | 22 ; NOTE: all values need to be defined in hex! |
23 ; | 23 ; |
24 #endif | 24 #endif |
25 | 25 |
26 #define fw_version_major 0x03 | 26 #define fw_version_major 0x03 |
27 #define fw_version_minor 0x0B | 27 #define fw_version_minor 0x0D |
28 #define fw_version_beta 0x00 | 28 #define fw_version_beta 0x00 |
29 | 29 |
30 | 30 |
31 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | 31 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
32 ; | 32 ; |
41 ; NOTE: all values need to be defined in hex! | 41 ; NOTE: all values need to be defined in hex! |
42 ; | 42 ; |
43 #endif | 43 #endif |
44 | 44 |
45 #define firmware_creation_year 0x14 | 45 #define firmware_creation_year 0x14 |
46 #define firmware_creation_month 0x05 | 46 #define firmware_creation_month 0x0A |
47 #define firmware_creation_day 0x19 | 47 #define firmware_creation_day 0x1C |
48 | 48 |
49 #define firmware_expire_year 0x15 | 49 #define firmware_expire_year 0x16 |
50 #define firmware_expire_month 0x02 | 50 #define firmware_expire_month 0x0A |
51 #define firmware_expire_day 0x01 | 51 #define firmware_expire_day 0x1C |
52 | 52 |
53 | 53 |
54 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | 54 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
55 ; | 55 ; |
56 ; global Version Selection | 56 ; global Version Selection |
62 ; _hwos_tech_3_cR_cave compile Tech version for OSTC 3 and cR en+de memory: 122.079 used, 801 free * | 62 ; _hwos_tech_3_cR_cave compile Tech version for OSTC 3 and cR en+de memory: 122.079 used, 801 free * |
63 ; _hwos_sport compile Sport version for all models en+de memory: 116.365 used, 6.515 free | 63 ; _hwos_sport compile Sport version for all models en+de memory: 116.365 used, 6.515 free |
64 ; 122.880 max. available | 64 ; 122.880 max. available |
65 #endif | 65 #endif |
66 | 66 |
67 #define _hwos_tech_2_TR | 67 #define _hwos_tech_3_cR |
68 | 68 |
69 | 69 |
70 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | 70 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
71 ; | 71 ; |
72 ; Language Selection | 72 ; Language Selection |
77 ; | 77 ; |
78 ; _language_2 second language, coding as above or 'none' mem: approx. 4.0 kB in Sport, 4.3 kB in Tech | 78 ; _language_2 second language, coding as above or 'none' mem: approx. 4.0 kB in Sport, 4.3 kB in Tech |
79 ; | 79 ; |
80 #endif | 80 #endif |
81 | 81 |
82 #define _language_1 en | 82 #define _language_1 de |
83 #define _language_2 none | 83 #define _language_2 en |
84 | 84 |
85 | 85 |
86 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | 86 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
87 ; | 87 ; |
88 ; Features Selection CODE SIZES ARE OUTDATED | 88 ; Features Selection CODE SIZES ARE OUTDATED |
96 ; _high_ppO2_max raised ppO2 max limit (2.0 bar) mem: 0 byte (neutral) | 96 ; _high_ppO2_max raised ppO2 max limit (2.0 bar) mem: 0 byte (neutral) |
97 ; _rx_functions RX function (OSTC TR) mem: + 4.497 byte | 97 ; _rx_functions RX function (OSTC TR) mem: + 4.497 byte |
98 ; _rx_update RX firmware update (OSTC TR) mem: + 2.282 byte (dependent on RX firmware size) | 98 ; _rx_update RX firmware update (OSTC TR) mem: + 2.282 byte (dependent on RX firmware size) |
99 ; _gas_contingency auto-switch to alternative tanks on depleption mem: + 804 byte | 99 ; _gas_contingency auto-switch to alternative tanks on depleption mem: + 804 byte |
100 ; _cave_mode cave mode return calculation mem: + 3.035 byte | 100 ; _cave_mode cave mode return calculation mem: + 3.035 byte |
101 ; _big_divemenu big font dive menu -- UNDER DEVELOPMENT YET | |
101 ; _firmware_recovery means for backing up and restoring 2nd firmware mem: + 472 byte | 102 ; _firmware_recovery means for backing up and restoring 2nd firmware mem: + 472 byte |
102 ; _min_depth_option resettable min. and max. depth mem: + 4 byte ## special user group only ## | 103 ; _min_depth_option resettable min. and max. depth mem: + 4 byte ## special user group only ## |
103 ; _screendump screen dump function mem: + 348 byte ## special user group only ## | 104 ; _screendump screen dump function mem: + 348 byte ## special user group only ## |
104 ; | 105 ; |
105 ; | 106 ; |
123 #define NOT_INCLUDED_gauge_mode | 124 #define NOT_INCLUDED_gauge_mode |
124 #define NOT_INCLUDED_high_ppO2_max | 125 #define NOT_INCLUDED_high_ppO2_max |
125 #define NOT_INCLUDED_gas_contingency | 126 #define NOT_INCLUDED_gas_contingency |
126 #define NOT_INCLUDED_external_sensor | 127 #define NOT_INCLUDED_external_sensor |
127 #define NOT_INCLUDED_cave_mode | 128 #define NOT_INCLUDED_cave_mode |
129 #define NOT_INCLUDED_big_divemenu | |
128 #define NOT_INCLUDED_firmware_recovery | 130 #define NOT_INCLUDED_firmware_recovery |
129 #define NOT_INCLUDED_min_depth_option | 131 #define NOT_INCLUDED_min_depth_option |
130 #define NOT_INCLUDED_screendump | 132 #define NOT_INCLUDED_screendump |
131 | 133 |
132 #endif | 134 #endif |
142 #define _gauge_mode | 144 #define _gauge_mode |
143 #define _high_ppO2_max | 145 #define _high_ppO2_max |
144 #define _gas_contingency | 146 #define _gas_contingency |
145 #define NOT_INCLUDED_external_sensor | 147 #define NOT_INCLUDED_external_sensor |
146 #define NOT_INCLUDED_cave_mode | 148 #define NOT_INCLUDED_cave_mode |
149 #define NOT_INCLUDED_big_divemenu | |
147 #define _firmware_recovery | 150 #define _firmware_recovery |
148 #define NOT_INCLUDED_min_depth_option | 151 #define NOT_INCLUDED_min_depth_option |
149 #define NOT_INCLUDED_screendump | 152 #define NOT_INCLUDED_screendump |
150 | 153 |
151 #endif | 154 #endif |
161 #define _gauge_mode | 164 #define _gauge_mode |
162 #define _high_ppO2_max | 165 #define _high_ppO2_max |
163 #define _gas_contingency | 166 #define _gas_contingency |
164 #define NOT_INCLUDED_external_sensor | 167 #define NOT_INCLUDED_external_sensor |
165 #define _cave_mode | 168 #define _cave_mode |
169 #define NOT_INCLUDED_big_divemenu | |
166 #define _firmware_recovery | 170 #define _firmware_recovery |
167 #define NOT_INCLUDED_min_depth_option | 171 #define NOT_INCLUDED_min_depth_option |
168 #define NOT_INCLUDED_screendump | 172 #define NOT_INCLUDED_screendump |
169 | 173 |
170 #endif | 174 #endif |
180 #define NOT_INCLUDED_rx_functions | 184 #define NOT_INCLUDED_rx_functions |
181 #define NOT_INCLUDED_rx_update | 185 #define NOT_INCLUDED_rx_update |
182 #define _external_sensor | 186 #define _external_sensor |
183 #define _gas_contingency | 187 #define _gas_contingency |
184 #define NOT_INCLUDED_cave_mode | 188 #define NOT_INCLUDED_cave_mode |
185 #define _firmware_recovery | 189 #define NOT_INCLUDED_big_divemenu |
186 #define NOT_INCLUDED_min_depth_option | 190 #define _firmware_recovery |
187 #define NOT_INCLUDED_screendump | 191 #define NOT_INCLUDED_min_depth_option |
192 #define _screendump | |
188 | 193 |
189 #endif | 194 #endif |
190 | 195 |
191 | 196 |
192 #ifdef _hwos_tech_3_cR_cave | 197 #ifdef _hwos_tech_3_cR_cave |
199 #define NOT_INCLUDED_rx_functions | 204 #define NOT_INCLUDED_rx_functions |
200 #define NOT_INCLUDED_rx_update | 205 #define NOT_INCLUDED_rx_update |
201 #define _external_sensor | 206 #define _external_sensor |
202 #define _gas_contingency | 207 #define _gas_contingency |
203 #define _cave_mode | 208 #define _cave_mode |
209 #define NOT_INCLUDED_big_divemenu | |
204 #define _firmware_recovery | 210 #define _firmware_recovery |
205 #define NOT_INCLUDED_min_depth_option | 211 #define NOT_INCLUDED_min_depth_option |
206 #define NOT_INCLUDED_screendump | 212 #define NOT_INCLUDED_screendump |
207 | 213 |
208 #endif | 214 #endif |
218 #define NOT_INCLUDED_high_ppO2_max | 224 #define NOT_INCLUDED_high_ppO2_max |
219 #define _rx_functions | 225 #define _rx_functions |
220 #define _rx_update | 226 #define _rx_update |
221 #define NOT_INCLUDED_external_sensor | 227 #define NOT_INCLUDED_external_sensor |
222 #define NOT_INCLUDED_cave_mode | 228 #define NOT_INCLUDED_cave_mode |
229 #define NOT_INCLUDED_big_divemenu | |
223 #define _firmware_recovery | 230 #define _firmware_recovery |
224 #define NOT_INCLUDED_min_depth_option | 231 #define NOT_INCLUDED_min_depth_option |
225 #define NOT_INCLUDED_screendump | 232 #define NOT_INCLUDED_screendump |
226 | 233 |
227 #endif | 234 #endif |