annotate Common/Inc/configuration.h @ 925:79c888f5d8d2 Evo_2_23

Bugfix scrubber time: added an copy of the scrubber time in sope of the divestate structure.
author Ideenmodellierer
date Wed, 13 Nov 2024 17:56:02 +0100
parents 7c996354b8ac
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
677
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
1 ///////////////////////////////////////////////////////////////////////////////
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
2 /// -*- coding: UTF-8 -*-
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
3 ///
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
4 /// \file Discovery/Inc/configuration.h
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
5 /// \brief Header file for variant specific firmware adaptations at compile time
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
6 /// \author heinrichs weikamp gmbh
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
7 /// \date 29-February-2020
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
8 ///
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
9 /// $Id$
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
10 ///////////////////////////////////////////////////////////////////////////////
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
11 /// \par Copyright (c) 2014-2020 Heinrichs Weikamp gmbh
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
12 ///
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
13 /// This program is free software: you can redistribute it and/or modify
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
14 /// it under the terms of the GNU General Public License as published by
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
15 /// the Free Software Foundation, either version 3 of the License, or
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
16 /// (at your option) any later version.
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
17 ///
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
18 /// This program is distributed in the hope that it will be useful,
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
19 /// but WITHOUT ANY WARRANTY; without even the implied warranty of
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
20 /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
21 /// GNU General Public License for more details.
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
22 ///
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
23 /// You should have received a copy of the GNU General Public License
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
24 /// along with this program. If not, see <http://www.gnu.org/licenses/>.
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
25 //////////////////////////////////////////////////////////////////////////////
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
26
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
27 #ifndef CONFIGURATION_HEADER
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
28 #define CONFIGURATION_HEADER
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
29
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
30 /* Enable this to make the simulator write a logbook entry */
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
31 /* #define SIM_WRITES_LOGBOOK 1 */
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
32
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
33 /* Enable this for support of optical bottle pressure interface */
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
34 /* #define ENABLE_BOTTLE_SENSOR */
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
35
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
36 /* Enable this to show voltage in parallel to charge state */
876
5b325372db4b Minor: Enable CO2-Sensor as default now
heinrichsweikamp
parents: 857
diff changeset
37 #define ALWAYS_SHOW_VOLTAGE
677
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
38
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
39 /* Enable this to skip coplete scan of dive log during startup */
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
40 #define TRUST_LOG_CONSISTENCY
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
41
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
42 /* Enable this to transfer additional data list last dive ID and last sample index during raw data requests */
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
43 /* define SEND_DATA_DETAILS */
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
44
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
45 /* Enable to activate a menu item in reset menu which provide sample ring analysis / repair functionality */
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
46 /* #define ENABLE_ANALYSE_SAMPLES */
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
47
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
48 /* Enable to have access to the debug view options (turn on / off via menu instead of compile switch) */
898
fac13aa6ba93 Disabled debug features
ideenmodellierer
parents: 896
diff changeset
49 /* #define HAVE_DEBUG_VIEW */
677
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
50
896
f29369fff71e Development Feature Runtime in Debugview:
ideenmodellierer
parents: 893
diff changeset
51 /* Enable to have runtime information displayed in t7 debug view */
898
fac13aa6ba93 Disabled debug features
ideenmodellierer
parents: 896
diff changeset
52 /* #define T7_DEBUG_RUNTIME */
896
f29369fff71e Development Feature Runtime in Debugview:
ideenmodellierer
parents: 893
diff changeset
53
f29369fff71e Development Feature Runtime in Debugview:
ideenmodellierer
parents: 893
diff changeset
54 /* Enable to have event based warnings being displayed as warning messages when they occur */
857
ba1aebc6d5af Developer feature debug warning:
Ideenmodellierer
parents: 746
diff changeset
55 #define HAVE_DEBUG_WARNINGS
ba1aebc6d5af Developer feature debug warning:
Ideenmodellierer
parents: 746
diff changeset
56
677
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
57 /* Enable to have access to the motion control selection menu */
692
b052e812277c Added compile switch for Sentinel rebreather option
Ideenmodellierer
parents: 677
diff changeset
58 /* #define ENABLE_MOTION_CONTROL */
677
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
59
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
60 /* Enable to have option to hide not needed gases from dive views */
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
61 /* #define ENABLE_UNUSED_GAS_HIDING */
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
62
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
63 /* Enable to have the new T3 profile view available */
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
64 #define ENABLE_T3_PROFILE_VIEW
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
65
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
66 /* Enable to have PPO2 adjustments in T3 sensor view during dive simulation */
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
67 /* #define ENABLE_T3_PPO_SIM */
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
68
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
69 /* Enable to have PSCR functionality available */
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
70 #define ENABLE_PSCR_MODE
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
71
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
72 /* Enable to have CO2 sensor functionality available */
876
5b325372db4b Minor: Enable CO2-Sensor as default now
heinrichsweikamp
parents: 857
diff changeset
73 #define ENABLE_CO2_SUPPORT
677
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
74
920
c4c9850a2039 Added view for position data:
Ideenmodellierer
parents: 908
diff changeset
75 /* Enable to have GPS sensor functionality available */
922
7c996354b8ac Moved UART6 into a separate unit:
Ideenmodellierer
parents: 920
diff changeset
76 #define ENABLE_GNSS_SUPPORT
920
c4c9850a2039 Added view for position data:
Ideenmodellierer
parents: 908
diff changeset
77
692
b052e812277c Added compile switch for Sentinel rebreather option
Ideenmodellierer
parents: 677
diff changeset
78 /* Enable to have Sentinel rebreather interface available */
b052e812277c Added compile switch for Sentinel rebreather option
Ideenmodellierer
parents: 677
diff changeset
79 /* #define ENABLE_SENTINEL_MODE */
b052e812277c Added compile switch for Sentinel rebreather option
Ideenmodellierer
parents: 677
diff changeset
80
677
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
81 /* Enable if you are using sensors with a voltage range 8..16 mV at surface / air level */
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
82 #define ENABLE_ALTERNATIVE_SENSORTYP
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
83
727
1dca3bb187d7 Enabled CO2 support for beta test phase:
Ideenmodellierer
parents: 692
diff changeset
84 /* Enable if an external pressure sensor is connected at ADC channel3 (used for sensor verification) */
1dca3bb187d7 Enabled CO2 support for beta test phase:
Ideenmodellierer
parents: 692
diff changeset
85 /* #define ENABLE_EXTERNAL_PRESSURE */
1dca3bb187d7 Enabled CO2 support for beta test phase:
Ideenmodellierer
parents: 692
diff changeset
86
883
7755a476f164 Added compile switch for predive check menu:
Ideenmodellierer
parents: 876
diff changeset
87 /* Enable if the menu item predive check shall be available */
7755a476f164 Added compile switch for predive check menu:
Ideenmodellierer
parents: 876
diff changeset
88 /* #define ENABLE_PREDIVE_CHECK */
7755a476f164 Added compile switch for predive check menu:
Ideenmodellierer
parents: 876
diff changeset
89
893
1b05a84f6d0f Reenabled fast communication:
Ideenmodellierer
parents: 883
diff changeset
90 /* Enable to have a faster transfer speed between bluetooth module and CPU */
1b05a84f6d0f Reenabled fast communication:
Ideenmodellierer
parents: 883
diff changeset
91 #define ENABLE_FAST_COMM
1b05a84f6d0f Reenabled fast communication:
Ideenmodellierer
parents: 883
diff changeset
92
899
2225c467f1e9 Added data path and visualization for position data:
Ideenmodellierer
parents: 898
diff changeset
93 /* Enable to have position sensor support active */
922
7c996354b8ac Moved UART6 into a separate unit:
Ideenmodellierer
parents: 920
diff changeset
94 #define ENABLE_GPIO_V2
899
2225c467f1e9 Added data path and visualization for position data:
Ideenmodellierer
parents: 898
diff changeset
95
677
1953cd9145b3 Move include file to common to ...
Jan Mulder <jan@jlmulder.nl>
parents:
diff changeset
96 #endif