Mercurial > public > hwos_code
comparison src/configuration.inc @ 631:185ba2f91f59
3.09 beta 1 release
author | heinrichsweikamp |
---|---|
date | Fri, 28 Feb 2020 15:45:07 +0100 |
parents | 4cd81bdbf15c |
children | 690c48db7b5b |
comparison
equal
deleted
inserted
replaced
630:4cd81bdbf15c | 631:185ba2f91f59 |
---|---|
1 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | 1 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
2 ; ============================================================================ | 2 ; ============================================================================ |
3 ; | 3 ; |
4 ; File configuration.inc combined next generation V3.06.2 | 4 ; File configuration.inc combined next generation V3.08.8 |
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 ; ============================================================================ |
13 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | 13 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
14 ; | 14 ; |
15 ; Firmware Version | 15 ; Firmware Version |
16 ; ---------------- | 16 ; ---------------- |
17 ; | 17 ; |
18 ; softwareversion_x firmware version, major (1 - 9) | 18 ; fw_version_major firmware version, major (1 - 9) |
19 ; softwareversion_y firmware version, minor (0 - 99) | 19 ; fw_version_minor firmware version, minor (0 - 99) |
20 ; softwareversion_beta 0= Release, 1= Beta 1, 2= Beta 2, ... (0 - 255) | 20 ; fw_version_beta 0= Release, 1= Beta 1, 2= Beta 2, ... (0 - 99) |
21 ; | 21 ; |
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 softwareversion_x 0x03 | 26 #define fw_version_major 0x03 |
27 #define softwareversion_y 0x08 | 27 #define fw_version_minor 0x09 |
28 #define softwareversion_beta 0x00 | 28 #define fw_version_beta 0x01 |
29 | 29 |
30 | 30 |
31 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | 31 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
32 ; | 32 ; |
33 ; Firmware Creation and Expiration Date | 33 ; Firmware Creation and Expiration Date |
40 ; | 40 ; |
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 0x13 | 45 #define firmware_creation_year 0x14 |
46 #define firmware_creation_month 0x08 | 46 #define firmware_creation_month 0x02 |
47 #define firmware_creation_day 0x0a | 47 #define firmware_creation_day 0x1C |
48 | 48 |
49 #define firmware_expire_year 0x14 | 49 #define firmware_expire_year 0x15 |
50 #define firmware_expire_month 0x0a | 50 #define firmware_expire_month 0x01 |
51 #define firmware_expire_day 0x1f | 51 #define firmware_expire_day 0x01 |
52 | 52 |
53 | 53 |
54 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | 54 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
55 ; | 55 ; |
56 ; global Version Selection | 56 ; global Version Selection |
57 ; ------------------------ | 57 ; ------------------------ |
58 ; | 58 ; |
59 ; _hwos_tech_2_TR compile Tech version for OSTC 2, Plus and TR (1 language only ) memory: 122.054 used, 884 free | 59 ; _hwos_tech_2_TR compile Tech version for OSTC 2, Plus and TR (1 language en ) memory: 121.832 used, 1.048 free |
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) | 60 ; _hwos_tech_3_cR compile Tech version for OSTC 3 and cR (2 languages en+de) memory: 122.074 used, 874 free |
61 ; _hwos_sport compile Sport version for all models (2 languages possible) memory: 115.764 used, 7.174 free (with 1 language only) | 61 ; _hwos_sport compile Sport version for all models (2 languages en+de) memory: 119.192 used, 3.756 free |
62 ; 122.880 max. available | |
62 #endif | 63 #endif |
63 | 64 |
64 #define _hwos_tech_3_cR | 65 #define _hwos_tech_3_cR |
65 | 66 |
66 | 67 |
74 ; | 75 ; |
75 ; _language_2 second language, coding as above or 'none' mem: approx. 4.0 kbyte in Sport, 4.228 kbyte in Tech | 76 ; _language_2 second language, coding as above or 'none' mem: approx. 4.0 kbyte in Sport, 4.228 kbyte in Tech |
76 ; | 77 ; |
77 #endif | 78 #endif |
78 | 79 |
79 #define _language_1 en | 80 #define _language_1 de |
80 #define _language_2 de | 81 #define _language_2 none |
81 | 82 |
82 | 83 |
83 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | 84 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
84 ; | 85 ; |
85 ; Features Selection | 86 ; Features Selection |
86 ; ------------------ | 87 ; ------------------ |
87 ; | 88 ; memory requirements not up-to-date! |
88 ; _screendump screen dump function mem: 338 byte | 89 ; _compass compass function mem: 10.488 byte |
89 ; _compass compass function mem: 10.488 byte | 90 ; _helium helium (trimix) gases and diluents mem: 2.182 byte |
90 ; _rx_functions RX functions (OSTC TR) mem: 4.886 byte | 91 ; _ccr_pscr CCR & pSCR modes, basic functionality mem: 4.110 byte |
91 ; _rx_update updates RX firmware 1) mem: 2.472 byte | 92 ; _external_sensor CCR & pSCR modes, external sensor support mem: 3.452 byte |
92 ; _helium Helium (Trimix) gases and diluents mem: 2.182 byte | 93 ; _gauge_mode gauge mode mem: 30 byte when _not_ included |
93 ; _ccr_pscr loop modes CCR and pSCR mem: 4.110 byte | 94 ; _high_ppO2_max raised ppO2 max limit (2.0 bar) mem: 0 byte |
94 ; _external_sensor external sensor for CCR & pSCR 2) mem: 3.452 byte | 95 ; _rx_functions RX function (OSTC TR) mem: 4.886 byte |
95 ; _gauge_mode gauge mode mem: 30 byte when _not_ included | 96 ; _rx_update RX firmware update (OSTC TR) mem: 2.472 byte |
96 ; _high_ppO2_max raised ppO2 max limit (2.0 bar) mem: 0 byte | 97 ; _cave_mode cave mode return calculation mem: 720 byte |
97 ; _cave_mode cave mode way-out calculation mem: byte ## under construction yet ## | 98 ; _gas_contingency auto-switch to alternative tanks on depleption mem: 452 byte |
98 ; _min_depth_option resettable min. and max. depth mem: 394 byte ## special user group only ## | 99 ; _min_depth_option resettable min. and max. depth mem: 394 byte ## special user group only ## |
99 ; _gas_contingency continue deco on other gases mem: 452 byte ## special user group only ## | 100 ; _screendump screen dump function mem: 338 byte ## special user group only ## |
100 ; | 101 ; |
101 ; 1) needs _rx_functions to be included, too / can not be included without _rx_functions | |
102 ; 2) needs _ccr_pscr to be included, too / can not be included without _ccr_pscr | |
103 ; | 102 ; |
104 ; NOTES: - Exclude options by prepending NOT_INCLUDED to the label. | 103 ; NOTES: - Exclude options by prepending NOT_INCLUDED to the label. |
105 ; - Not all options will fit concurrently if two languages are slected. | 104 ; - Not all options will fit concurrently if two languages are slected. |
106 ; - Option sizes are based on single language (english), will increase | 105 ; - Option sizes are based on single language (english), will increase |
107 ; with 2nd language and will differ slightly between languages. | 106 ; with 2nd language and will differ slightly between languages. |
108 #endif | 107 #endif |
109 | 108 |
110 | 109 |
111 #ifdef _hwos_tech_2_TR | 110 #ifdef _hwos_tech_2_TR |
112 | 111 |
113 #define _screendump | |
114 #define _compass | 112 #define _compass |
113 #define _helium | |
114 #define _ccr_pscr | |
115 #define _rx_functions | 115 #define _rx_functions |
116 #define _rx_update | 116 #define _rx_update |
117 #define _gauge_mode | |
118 #define _high_ppO2_max | |
119 #define NOT_INCLUDED_external_sensor | |
120 #define NOT_INCLUDED_cave_mode | |
121 #define NOT_INCLUDED_gas_contingency | |
122 #define NOT_INCLUDED_min_depth_option | |
123 #define NOT_INCLUDED_screendump | |
124 | |
125 #endif | |
126 | |
127 | |
128 #ifdef _hwos_tech_3_cR | |
129 | |
130 #define _compass | |
117 #define _helium | 131 #define _helium |
118 #define _ccr_pscr | 132 #define _ccr_pscr |
119 #define _gauge_mode | 133 #define _gauge_mode |
120 #define _high_ppO2_max | 134 #define _high_ppO2_max |
121 | 135 #define NOT_INCLUDED_rx_functions |
122 | 136 #define NOT_INCLUDED_rx_update |
137 #define _external_sensor | |
138 #define _cave_mode | |
139 #define _gas_contingency | |
140 #define NOT_INCLUDED_gas_contingency | |
141 #define NOT_INCLUDED_min_depth_option | |
142 #define NOT_INCLUDED_screendump | |
143 | |
144 #endif | |
145 | |
146 | |
147 #ifdef _hwos_sport | |
148 | |
149 #define _compass | |
150 #define _gas_contingency | |
151 #define NOT_INCLUDED_helium | |
152 #define NOT_INCLUDED_ccr_pscr | |
153 #define NOT_INCLUDED_gauge_mode | |
154 #define NOT_INCLUDED_high_ppO2_max | |
155 #define _rx_functions | |
156 #define _rx_update | |
123 #define NOT_INCLUDED_external_sensor | 157 #define NOT_INCLUDED_external_sensor |
124 #define NOT_INCLUDED_cave_mode | 158 #define NOT_INCLUDED_cave_mode |
159 #define NOT_INCLUDED_gas_contingency | |
125 #define NOT_INCLUDED_min_depth_option | 160 #define NOT_INCLUDED_min_depth_option |
126 | |
127 #endif | |
128 | |
129 | |
130 #ifdef _hwos_tech_3_cR | |
131 | |
132 #define NOT_INCLUDED_screendump | 161 #define NOT_INCLUDED_screendump |
133 #define _compass | |
134 #define _helium | |
135 #define _ccr_pscr | |
136 #define _external_sensor | |
137 #define _gauge_mode | |
138 #define _high_ppO2_max | |
139 #define _gas_contingency | |
140 | |
141 #define NOT_INCLUDED_rx_functions | |
142 #define NOT_INCLUDED_rx_update | |
143 #define NOT_INCLUDED_cave_mode | |
144 #define NOT_INCLUDED_min_depth_option | |
145 | |
146 #endif | |
147 | |
148 | |
149 #ifdef _hwos_sport | |
150 | |
151 #define _screendump | |
152 #define _compass | |
153 #define _rx_functions | |
154 #define _rx_update | |
155 #define NOT_INCLUDED_helium | |
156 #define NOT_INCLUDED_ccr_pscr | |
157 #define NOT_INCLUDED_external_sensor | |
158 | |
159 #define NOT_INCLUDED_gauge_mode | |
160 #define NOT_INCLUDED_high_ppO2_max | |
161 #define NOT_INCLUDED_cave_mode | |
162 #define NOT_INCLUDED_min_depth_option | |
163 | 162 |
164 #endif | 163 #endif |
165 | 164 |
166 | 165 |
167 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | 166 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
168 ; | 167 ; |
169 ; Debug Modes | 168 ; Debug Modes |
170 ; ----------- | 169 ; ----------- |
171 ; | 170 ; |
172 ; _DEBUG put firmware in a global debug mode default: not included | 171 ; _DEBUG put firmware in a global debug mode default: not included |
173 ; _debug_output debug outputs (for performance) default: not included | |
174 ; _profiling deco engine performance measurements default: not included | 172 ; _profiling deco engine performance measurements default: not included |
175 ; | 173 ; _debug_output performance outputs (for _profiling) default: not included |
176 ; NOTE: - Exclude options by prepending NOT_INCLUDED to the label. | 174 ; |
175 ; NOTE: - Exclude options by prepending NOT_INCLUDED to the label | |
177 ; | 176 ; |
178 #endif | 177 #endif |
179 | 178 |
180 #define NOT_INCLUDED_DEBUG | 179 #define NOT_INCLUDED_DEBUG |
180 #define NOT_INCLUDED_profiling | |
181 #define NOT_INCLUDED_debug_output | 181 #define NOT_INCLUDED_debug_output |
182 #define NOT_INCLUDED_profiling | 182 |
183 | 183 |
184 | 184 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
185 | 185 ; |
186 ; Auto-Includes (serve functional dependencies) | |
187 ; | |
188 #endif | |
189 | |
190 #ifdef _cave_mode | |
191 #ifndef _gas_contingency | |
192 #define _gas_contingency | |
193 #endif | |
194 #endif | |
195 | |
196 #ifdef _rx_update | |
197 #ifndef _rx_functions | |
198 #define _rx_functions | |
199 #endif | |
200 #endif | |
201 | |
202 #ifdef _external_sensor | |
203 #ifndef _ccr_pscr | |
204 #define _ccr_pscr | |
205 #endif | |
206 #endif | |
186 | 207 |
187 | 208 |
188 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | 209 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
189 ; | 210 ; |
190 ; Software Configuration | 211 ; Software Configuration |