This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
System.cfg
160 lines (118 loc) · 3.53 KB
/
System.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
[TEXT_GENERAL]
name = General options
type = info
[CONFIG_DEBUG]
name = Build debug code
type = bool
default = false
help = Sets CFLAGS and LDFLAGS for debugging
[CONFIG_FIXEDPOINT_MATH]
name = Fixedpoint Math (EXPERIMENTAL)
type = bool
default = False
help = Tries to use fix point aritmetric. If no module is using it, it reduces the code size dramaticly.
[USE_LCD_CHARGE_PUMP]
name = Use LCD Charge Pump (6 bytes)
type = bool
default = False
help = Use the internal charge pump to make the display contrast contstant through the whole battery lifetime. As a downside this increases currency and reduces battery lifetime.
[USE_WATCHDOG]
name = Use Watchdog (20 bytes)
type = bool
default = True
help = Protects the clock against deadlocks by rebooting it.
# RTC DRIVER #################################################################
[TEXT_RTC]
name = RTC driver
type = info
[CONFIG_RTC_IRQ]
name = Enable RTC interrupts
type = bool
default = True
help = Enables interrupts on the Real Time Clock
[CONFIG_RTC_DST]
name = DST
type = bool
default = True
depends = CONFIG_RTC_IRQ
help = Automatically adjusts real-time clock for daylight savings time
[CONFIG_RTC_DST_ZONE]
name = DST zone for automatic adjustment
type = text
default = 1
depends = CONFIG_RTC_DST
help = DST Zone: 1=DST_US, 2=DST_MEX, 3=DST_BRZ, 4=DST_EU, 5=DST_AUS, 6=DST_NZ
[CONFIG_RTC_WD_LANG]
name = Week day language
type = text
default = 1
help = Language IDs: 1=RTCA_WD_EN, 2=RTCA_WD_FR
# TIMER0 DRIVER ##############################################################
[TEXT_TIMER]
name = Timer0 driver
type = info
[CONFIG_TIMER_4S_IRQ]
name = Enable 0.244Hz timer interrupts
type = bool
default = True
help = Enables 0.244Hz interrupts on the hardware timer
[CONFIG_TIMER_20HZ_IRQ]
name = Enable 20Hz timer interrupts
type = bool
default = True
help = Enables 20Hz interrupts on the hardware timer
# PORTS DRIVER ###############################################################
[TEXT_PORTS]
name = Ports driver
type = info
[CONFIG_BUTTONS_LONG_PRESS_TIME]
name = Button long press time
type = text
default = 6
ifndef = True
help = Long button press time (in multiples of 1/20 second)
[CONFIG_BUTTONS_SHORT_PRESS_TIME]
name = Button short press time
type = text
default = 1
ifndef = True
help = Short button press time (in multiples of 1/20 second)
# BATTERY DRIVER #############################################################
[TEXT_BATTERY]
name = Battery driver
type = info
[CONFIG_BATTERY_MONITOR]
name = Background Battery Monitor
type = bool
default = False
depends = CONFIG_RTC_IRQ
help = Monitors the battery voltage every minute and displays a warning on low battery. Also used by the battery to auto-refresh display, if enabled.
[CONFIG_BATTERY_DISABLE_FILTER]
name = Disables battery filter [FOR TESTING]
type = bool
default = True
help = Reports the straight voltage value from measurement instead of the 'smoothed' one.
# TEMPERATURE SENSOR DRIVER ##################################################
[TEXT_TEMPERATURE]
name = Temperature sensor driver
type = info
[CONFIG_TEMPERATURE_OFFSET]
name = Compensation offset
type = text
default = -260
ifndef = True
help = Compensate the sensor raw output value with this offset
[CONFIG_TEMPERATURE_METRIC]
name = Metric systems
type = text
default = 0
help = 0=Only degrees; 1=Only fahrenheit; 2=Both (switchable)
# PRESSURE SENSOR DRIVER ##################################################
[TEXT_PRESSURE]
name = Pressure sensor driver
type = info
[CONFIG_PRESSURE_SENSOR]
name = Enable pressure sensor
type = bool
default = True
help = TODO