| # Drivers configuration options for SeeedStudio Grove Devices |
| |
| # Copyright (c) 2015 Intel Corporation |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| config GROVE_LIGHT_SENSOR |
| bool "Enable the Seeed Grove Light Sensor" |
| depends on ADC && !MINIMAL_LIBC |
| help |
| Setting this value will enable driver support for the Grove Light |
| Sensor. |
| |
| if GROVE_LIGHT_SENSOR |
| config GROVE_LIGHT_SENSOR_NAME |
| string "Driver name" |
| default "GROVE_LIGHT_SENSOR" |
| help |
| Specify the device name with which the sensor is identified. |
| |
| config GROVE_LIGHT_SENSOR_ADC_DEV_NAME |
| string "ADC where Grove Light Sensor is connected" |
| default "ADC_0" |
| help |
| Specify the device name of the ADC to which the Grove Light Sensor |
| is connected. |
| |
| config GROVE_LIGHT_SENSOR_ADC_CHANNEL |
| int "ADC channel used by Grove Light Sensor" |
| default 10 |
| help |
| Specify the channel of the ADC to which the Grove Light Sensor is |
| connected. |
| endif |
| |
| config GROVE_TEMPERATURE_SENSOR |
| bool "Enable the Seeed Grove Temperature Sensor" |
| depends on ADC && !MINIMAL_LIBC |
| help |
| Setting this value will enable driver support for the Grove |
| Temperature Sensor. |