-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkcnf
More file actions
90 lines (73 loc) · 2.22 KB
/
kcnf
File metadata and controls
90 lines (73 loc) · 2.22 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
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
config USE_USB
bool "Use USB for communication with PC"
default y
if USE_USB
config RINGBUF_SIZE
int "Ring buffer size"
default 32
endif
config USE_REMOTE
depends on USE_USB
bool "Use remote command parser for controlling"
default y
if USE_REMOTE
config REMOTE_ADDR_MAX
int "Maximum number of commands"
default 16
endif
config USE_EXTRA
depends on !USE_USB
bool "Use extra manipulators functions"
default y
config USE_ODETECT
bool "Connect ODetect"
default y
config USE_SERVO
bool "Use servo driver"
default y
if USE_SERVO
config ROBOT_NUM_SERVO
int "Number of servo"
default 4
range 0 6
menu "Servo connections"
if (ROBOT_NUM_SERVO = 1 || ROBOT_NUM_SERVO = 2 || ROBOT_NUM_SERVO = 3 || ROBOT_NUM_SERVO = 4)
config ROBOT_SERVO1_Q
string "Servo 1 GPIO"
default "GPD7"
endif
if (ROBOT_NUM_SERVO = 2 || ROBOT_NUM_SERVO = 3 || ROBOT_NUM_SERVO = 4)
config ROBOT_SERVO2_Q
string "Servo 2 GPIO"
default "GPD6"
endif
if (ROBOT_NUM_SERVO = 3 || ROBOT_NUM_SERVO = 4)
config ROBOT_SERVO3_Q
string "Servo 3 GPIO"
default "GPD4"
endif
if (ROBOT_NUM_SERVO = 4)
config ROBOT_SERVO4_Q
string "Servo 4 GPIO"
default "GPD1"
endif
endmenu
endif
config ROBOT_LIMITER_LEFT_Q
string "Left limiter GPIO"
default "GPB6"
config ROBOT_LIMITER_RIGHT_Q
string "Right limiter GPIO"
default "GPE6"
config ROBOT_SHMORGALKA_Q
string "Shmorgalka GPIO"
default "GPC6"
config ROBOT_VACUUM_Q
string "Vacuum GPIO"
default "GPF0"
config ROBOT_ELEVRESET_Q
string "Elevator reset GPIO"
default "GPD0"
config ROBOT_SELECTOR_Q
string "Zone selector switch"
default "GPB7"