forked from avengineers/SPLed
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKConfig
More file actions
58 lines (47 loc) · 1.82 KB
/
Copy pathKConfig
File metadata and controls
58 lines (47 loc) · 1.82 KB
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
mainmenu "SPLed"
source "$(SPL_CORE_DIR)/config/KConfig"
menu "Features"
config CUSTOMER
string "Customer identifier"
default "None"
help
Identifies which customer this variant is built for (e.g. "A", "B", "C").
Use "None" for variants that are not tied to a specific customer.
Used to select customer-specific content in the Sphinx-Needs documentation.
config BLINKING
bool "Blinking Feature"
default n
choice BRIGHTNESS_ADJUSTMENT
depends on !BLINKING
prompt "Select brightness adjustment mode"
config BRIGHTNESS_ADJUSTMENT_MANUAL
bool "Manually adjustable"
config BRIGHTNESS_ADJUSTMENT_AUTOMATIC
bool "Automatically adjustable"
endchoice
config BRIGHTNESS_ADJUSTMENT_ENABLED
# Internal config. Not visible for the user in the menuconfig.
bool
default y if BRIGHTNESS_ADJUSTMENT_MANUAL || BRIGHTNESS_ADJUSTMENT_AUTOMATIC
config BRIGHTNESS_ADJUSTMENT_PERIOD
int "Brightness Adjustment Period (in seconds)"
depends on BRIGHTNESS_ADJUSTMENT_AUTOMATIC
default 5
range 1 60
help
This option allows you to set the period for brightness adjustment.
The value is in seconds and can be set between 1 and 60 seconds.
config AUTO_OFF
bool "Auto Off Feature"
default n
config AUTO_OFF_PERIOD_SECONDS
int "Auto Off Period (in seconds)"
depends on AUTO_OFF
default 3600
range 5 7200
help
This option allows you to set the period for the auto off feature.
The value is in seconds and can be set between 5 and 7200 seconds.
source "components/os/KConfig"
source "components/light_controller/KConfig"
endmenu