-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathKconfig.app
100 lines (76 loc) · 1.52 KB
/
Kconfig.app
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
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
config APP_PWM_WHITE
bool
prompt "Enable dedicated PWM for white color"
default y
if APP_PWM_WHITE
config APP_PWM_WHITE_DEV
string
prompt "PWM device name used for white"
config APP_PWM_WHITE_PIN
int
prompt "PWM pin number used for white"
default 0
config APP_PWM_WHITE_PIN_CEILING
int
prompt "PWM pin level ceiling"
default 255
range 1 255
endif # APP_PWM_WHITE
config APP_PWM_RED
bool
prompt "Enable dedicated PWM for red"
default n
if APP_PWM_RED
config APP_PWM_RED_DEV
string
prompt "PWM device name used for red"
config APP_PWM_RED_PIN
int
prompt "PWM pin number used for red"
default 0
config APP_PWM_RED_PIN_CEILING
int
prompt "PWM pin level ceiling"
default 255
range 1 255
endif # APP_PWM_RED
config APP_PWM_GREEN
bool
prompt "Enable dedicated PWM for green"
default n
if APP_PWM_GREEN
config APP_PWM_GREEN_DEV
string
prompt "PWM device name used for green"
config APP_PWM_GREEN_PIN
int
prompt "PWM pin number used for green"
default 0
config APP_PWM_GREEN_PIN_CEILING
int
prompt "PWM pin level ceiling"
default 255
range 1 255
endif # APP_PWM_GREEN
config APP_PWM_BLUE
bool
prompt "Enable dedicated PWM for blue"
default n
if APP_PWM_BLUE
config APP_PWM_BLUE_DEV
string
prompt "PWM device name used for blue"
config APP_PWM_BLUE_PIN
int
prompt "PWM pin number used for blue"
default 0
config APP_PWM_BLUE_PIN_CEILING
int
prompt "PWM pin level ceiling"
default 255
range 1 255
endif # APP_PWM_BLUE