forked from ev3dev/lego-linux-drivers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig
123 lines (102 loc) · 3.12 KB
/
Kconfig
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
# LEGO device drivers
menuconfig LEGO_DRIVERS
tristate "LEGO Device Drivers"
help
Enables support LEGO MINDSTORMS and LEGO WeDo devices
if LEGO_DRIVERS
menuconfig LEGOEV3_DRIVERS
tristate "LEGO MINDSTORMS EV3 support"
depends on MACH_DAVINCI_LEGOEV3
default y
help
This enables platform specific drivers for the LEGO MINDSTORMS EV3
hardware.
if LEGOEV3_DRIVERS
config LEGOEV3_ANALOG
tristate "Analog device support"
default y
help
Select Y to enable the EV3's built-in analog/digital converter.
config BATTERY_LEGOEV3
tristate "LEGO MINDSTORMS EV3 battery driver"
depends on LEGOEV3_ANALOG
help
Say Y here to enable the driver for the LEGO MINDSTORMS EV3 battery.
config LEGOEV3_BLUETOOTH
tristate "On-board Bluetooth"
default y
depends on PWM_TIECAP && GPIOLIB
help
Select Y to enable on-board bluetooth on the LEGO MINDSTORMS EV3.
config LEGOEV3_DEV_PORTS
tristate "Support for devices connected to the EV3 ports"
default y
depends on LEGOEV3_ANALOG && GPIOLIB && PWM_TIECAP && PWM_TIEHRPWM
help
Select Y to provide support for devices that plug into the input
and output ports of the EV3.
endif #LEGOEV3_DRIVERS
config LEGO_PORTS
tristate "LEGO port support"
default y
help
Select Y to provide support for devices that provide input and/or
output port functionality that is compatible with LEGO MINDSTORMS,
LEGO WeDo and LEGO Power Functions sensors and motors.
config LEGOEV3_MSENSORS
tristate "Mindstorms sensors support"
default y
help
Select Y to enable support for Mindstorms sensors. Provides a common
device class interface for most types of sensors (UART sensors,
LEGO-approved I2C sensors and analog sensors).
config NXT_ANALOG_SENSORS
tristate "NXT analog sensor support"
default y
depends on LEGOEV3_DEV_PORTS && LEGOEV3_MSENSORS
help
Select Y to enable support for NXT analog sensors.
config EV3_ANALOG_SENSORS
tristate "EV3 analog sensor support"
default y
depends on LEGOEV3_DEV_PORTS && LEGOEV3_MSENSORS
help
Select Y to enable support for EV3 analog sensors.
config LEGOEV3_I2C_SENSORS
tristate "I2C sensor support"
default y
depends on LEGOEV3_DEV_PORTS && I2C_LEGOEV3 && LEGOEV3_MSENSORS
help
Select Y to enable support for NXT I2C sensors.
config EV3_UART_SENSORS
tristate "EV3 UART sensor support"
default y
depends on LEGOEV3_DEV_PORTS && SERIAL_SUART_OMAPL_PRU && LEGOEV3_MSENSORS
help
Select Y to enable support for EV3 UART sensors.
config LEGOEV3_MOTORS
tristate "EV3 motor support"
default y
depends on LEGOEV3_DEV_PORTS
help
Select Y to enable support for EV3 motors. Provides a common device
class interface for LEGO EV3 and NXT compatible motors.
config LEGOEV3_TACHO_MOTORS
tristate "tacho motor support"
default y
depends on LEGOEV3_MOTORS
help
Select Y to enable support for tacho motors.
config LEGOEV3_SERVO_MOTORS
tristate "Servo motor support"
default y
help
Select Y to enable support for servo motors.
config LEGOEV3_DC_MOTORS
tristate "DC motor support"
default y
help
Select Y to enable support for DC motors (includes LEGO Power
Functions motors).
source "drivers/lego/wedo/Kconfig"
endif #LEGO_DRIVERS