Mercurial > public > hwos_code
comparison src/configuration.inc @ 623:c40025d8e750
3.03 beta released
| author | heinrichsweikamp |
|---|---|
| date | Mon, 03 Jun 2019 14:01:48 +0200 |
| parents | |
| children | cd58f7fc86db |
comparison
equal
deleted
inserted
replaced
| 622:02d1386429a6 | 623:c40025d8e750 |
|---|---|
| 1 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
| 2 ; ============================================================================ | |
| 3 ; | |
| 4 ; File configuration.inc combined next generation V3.03.4 | |
| 5 ; | |
| 6 ; OSTC hwOS Configuration | |
| 7 ; | |
| 8 ; Copyright (c) 2019, HeinrichsWeikamp, all rights reserved. | |
| 9 ; ============================================================================ | |
| 10 #endif | |
| 11 | |
| 12 | |
| 13 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
| 14 ; | |
| 15 ; Firmware Version | |
| 16 ; ---------------- | |
| 17 ; | |
| 18 ; softwareversion_x firmware version, major (1 - 9) | |
| 19 ; softwareversion_y firmware version, minor (0 - 99) | |
| 20 ; softwareversion_beta 0= Release, 1= Beta 1, 2= Beta 2, ... (0 - 255) | |
| 21 ; | |
| 22 ; NOTE: all values need to be defined in hex! | |
| 23 ; | |
| 24 #endif | |
| 25 | |
| 26 #define softwareversion_x 0x03 | |
| 27 #define softwareversion_y 0x03 | |
| 28 #define softwareversion_beta 0x01 | |
| 29 | |
| 30 | |
| 31 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
| 32 ; | |
| 33 ; Firmware Creation and Expiration Date | |
| 34 ; ------------------------------------- | |
| 35 ; | |
| 36 ; firmware_creation_year/month/day will be used to initialize the RTC on reboot | |
| 37 ; | |
| 38 ; firmware_expire_year/month/day will be used to show firmware version in | |
| 39 ; "update Firmware" style after expiry date | |
| 40 ; | |
| 41 ; NOTE: all values need to be defined in hex! | |
| 42 ; | |
| 43 #endif | |
| 44 | |
| 45 #define firmware_creation_year 0x13 | |
| 46 #define firmware_creation_month 0x04 | |
| 47 #define firmware_creation_day 0x0d | |
| 48 | |
| 49 #define firmware_expire_year 0x13 | |
| 50 #define firmware_expire_month 0x08 | |
| 51 #define firmware_expire_day 0x1e | |
| 52 | |
| 53 | |
| 54 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
| 55 ; | |
| 56 ; global Version Selection | |
| 57 ; ------------------------ | |
| 58 ; | |
| 59 ; _hwos_tech_2_TR compile hwOS in Tech version for OSTC 2, Plus and TR (with RX functions) | |
| 60 ; _hwos_tech_3_cR compile hwOS in Tech version for OSTC 3 and cR (with external sensors) | |
| 61 ; _hwos_tech compile hwOS in Tech version for all models (does not fit yet) | |
| 62 ; _hwos_sport compile hwos in Sport version | |
| 63 ; | |
| 64 #endif | |
| 65 | |
| 66 #define _hwos_tech_2_TR | |
| 67 | |
| 68 | |
| 69 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
| 70 ; | |
| 71 ; Language Selection | |
| 72 ; ------------------ | |
| 73 ; | |
| 74 ; _language_1 first or single language, | |
| 75 ; set to 'en', 'de', 'fr', or 'it', defaults to 'en' | |
| 76 ; | |
| 77 ; _language_2 second language, coding as above or 'none' mem: approx. 3854 byte in Sport version | |
| 78 ; | |
| 79 #endif | |
| 80 | |
| 81 #define _language_1 de | |
| 82 #define _language_2 none | |
| 83 | |
| 84 | |
| 85 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
| 86 ; | |
| 87 ; Features Selection | |
| 88 ; ------------------ | |
| 89 ; | |
| 90 ; _screendump screen dump function mem: 334 byte, default: Sport: included, Tech: included | |
| 91 ; _compass compass function mem: 12.488 byte, default: Sport: included, Tech: included | |
| 92 ; _rx_functions RX functions (OSTC TR) mem: 7.942 byte, default: Sport: included, Tech: included | |
| 93 ; _huge_font huge font mem: 3.651 byte, default: Sport: included, Tech: NOT included | |
| 94 ; _helium Helium (Trimix) gases and diluents mem: 2.172 byte, default: Sport: NOT included, Tech: included | |
| 95 ; _ccr_pscr loop modes CCR and pSCR mem: 4.308 byte, default: Sport: NOT included, Tech: included | |
| 96 ; _external_sensor external sensor for CCR & pSCR 1) mem: 3.640 byte, default: Sport: NOT included, Tech: included | |
| 97 ; _cave_mode cave mode way-out calculation mem: byte, default: Sport: NOT included, Tech: included ## FEATURE IS UNDER CONSTRUCTION YET ## | |
| 98 ; _min_depth_option resettable min. and max. depth mem: byte, default: Sport: NOT included, Tech: NOT included | |
| 99 ; _ostc_logo use of a bitmap-based OSTC logo mem: 1.748 byte, default: Sport: NOT included, Tech: NOT included | |
| 100 ; | |
| 101 ; 1) needs to be excluded in case _ccr_pscr is excluded, too. | |
| 102 ; | |
| 103 ; NOTES: - Exclude options by prepending NOT_INCLUDED to the label. | |
| 104 ; - Not all options will fit concurrently if two languages are slected. | |
| 105 ; - Option sizes are based on single language (english), will increase | |
| 106 ; with 2nd language and will differ slightly between languages. | |
| 107 #endif | |
| 108 | |
| 109 | |
| 110 #ifdef _hwos_tech_2_TR | |
| 111 | |
| 112 #define _screendump | |
| 113 #define _compass | |
| 114 #define _huge_font | |
| 115 #define _rx_functions | |
| 116 #define _helium | |
| 117 #define _ccr_pscr | |
| 118 | |
| 119 | |
| 120 #define NOT_INCLUDED_external_sensor | |
| 121 #define NOT_INCLUDED_cave_mode | |
| 122 #define NOT_INCLUDED_min_depth_option | |
| 123 #define NOT_INCLUDED_ostc_logo | |
| 124 | |
| 125 #endif | |
| 126 | |
| 127 | |
| 128 #ifdef _hwos_tech_3_cR | |
| 129 | |
| 130 #define _screendump | |
| 131 #define _compass | |
| 132 #define _huge_font | |
| 133 #define _helium | |
| 134 #define _ccr_pscr | |
| 135 #define _external_sensor | |
| 136 | |
| 137 #define NOT_INCLUDED_rx_functions | |
| 138 #define NOT_INCLUDED_cave_mode | |
| 139 #define NOT_INCLUDED_min_depth_option | |
| 140 #define NOT_INCLUDED_ostc_logo | |
| 141 | |
| 142 #endif | |
| 143 | |
| 144 | |
| 145 #ifdef _hwos_tech | |
| 146 | |
| 147 #define _screendump | |
| 148 #define _compass | |
| 149 #define _huge_font | |
| 150 #define _rx_functions | |
| 151 #define _helium | |
| 152 #define _ccr_pscr | |
| 153 #define _external_sensor | |
| 154 | |
| 155 #define NOT_INCLUDED_cave_mode | |
| 156 #define NOT_INCLUDED_min_depth_option | |
| 157 #define NOT_INCLUDED_ostc_logo | |
| 158 | |
| 159 #endif | |
| 160 | |
| 161 | |
| 162 #ifdef _hwos_sport | |
| 163 | |
| 164 #define _screendump | |
| 165 #define _compass | |
| 166 #define _huge_font | |
| 167 #define _rx_functions | |
| 168 #define NOT_INCLUDED_helium | |
| 169 #define NOT_INCLUDED_ccr_pscr | |
| 170 #define NOT_INCLUDED_external_sensor | |
| 171 | |
| 172 #define NOT_INCLUDED_cave_mode | |
| 173 #define NOT_INCLUDED_min_depth_option | |
| 174 #define NOT_INCLUDED_ostc_logo | |
| 175 | |
| 176 #endif | |
| 177 | |
| 178 | |
| 179 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
| 180 ; | |
| 181 ; Debug Modes | |
| 182 ; ----------- | |
| 183 ; | |
| 184 ; _DEBUG put firmware in a global debug mode default: not included | |
| 185 ; _debug_output debug outputs (for performance) default: not included | |
| 186 ; _profiling deco engine performance measurements default: not included | |
| 187 ; | |
| 188 ; NOTE: - Exclude options by prepending NOT_INCLUDED to the label. | |
| 189 ; | |
| 190 #endif | |
| 191 | |
| 192 #define NOT_INCLUDED_DEBUG | |
| 193 #define NOT_INCLUDED_debug_output | |
| 194 #define NOT_INCLUDED_profiling |
