zephyr/drivers/sensor/Kconfig
Ulf Magnusson 8cf8db3a73 Kconfig: Use a short, consistent style for prompts
Consistently use

    config FOO
            bool/int/hex/string "Prompt text"

instead of

    config FOO
            bool/int/hex/string
            prompt "Prompt text"

(...and a bunch of other variations that e.g. swapped the order of the
type and the 'prompt', or put other properties between them).

The shorthand is fully equivalent to using 'prompt'. It saves lines and
avoids tricking people into thinking there is some semantic difference.

Most of the grunt work was done by a modified version of
https://unix.stackexchange.com/questions/26284/
how-can-i-use-sed-to-replace-a-multi-line-string/26290#26290, but some
of the rarer variations had to be converted manually.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-08-15 04:10:10 -07:00

123 lines
2.4 KiB
Plaintext

# Kconfig - sensor configuration options
#
# Copyright (c) 2016 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig SENSOR
bool "Sensor Drivers"
help
Include sensor drivers in system config
if SENSOR
config SYS_LOG_SENSOR_LEVEL
int "Sensor Log level"
depends on SYS_LOG
default 0
range 0 4
help
Sets log level for Sensor Device Drivers.
Levels are:
0 OFF, do not write
1 ERROR, only write SYS_LOG_ERR
2 WARNING, write SYS_LOG_WRN in addition to previous level
3 INFO, write SYS_LOG_INF in addition to previous levels
4 DEBUG, write SYS_LOG_DBG in addition to previous levels
config SENSOR_INIT_PRIORITY
int "Sensor init priority"
default 90
help
Sensor initialization priority.
comment "Device Drivers"
source "drivers/sensor/adt7420/Kconfig"
source "drivers/sensor/adxl362/Kconfig"
source "drivers/sensor/ak8975/Kconfig"
source "drivers/sensor/amg88xx/Kconfig"
source "drivers/sensor/apds9960/Kconfig"
source "drivers/sensor/bma280/Kconfig"
source "drivers/sensor/bmc150_magn/Kconfig"
source "drivers/sensor/bme280/Kconfig"
source "drivers/sensor/bmg160/Kconfig"
source "drivers/sensor/bmi160/Kconfig"
source "drivers/sensor/bmm150/Kconfig"
source "drivers/sensor/ccs811/Kconfig"
source "drivers/sensor/dht/Kconfig"
source "drivers/sensor/fxas21002/Kconfig"
source "drivers/sensor/fxos8700/Kconfig"
source "drivers/sensor/hdc1008/Kconfig"
source "drivers/sensor/hmc5883l/Kconfig"
source "drivers/sensor/hp206c/Kconfig"
source "drivers/sensor/hts221/Kconfig"
source "drivers/sensor/isl29035/Kconfig"
source "drivers/sensor/lis2dh/Kconfig"
source "drivers/sensor/lis3dh/Kconfig"
source "drivers/sensor/lis3mdl/Kconfig"
source "drivers/sensor/lps22hb/Kconfig"
source "drivers/sensor/lps25hb/Kconfig"
source "drivers/sensor/lsm6ds0/Kconfig"
source "drivers/sensor/lsm6dsl/Kconfig"
source "drivers/sensor/lsm9ds0_gyro/Kconfig"
source "drivers/sensor/lsm9ds0_mfd/Kconfig"
source "drivers/sensor/max30101/Kconfig"
source "drivers/sensor/max44009/Kconfig"
source "drivers/sensor/mcp9808/Kconfig"
source "drivers/sensor/mma8451q/Kconfig"
source "drivers/sensor/mpu6050/Kconfig"
source "drivers/sensor/nrf5/Kconfig"
source "drivers/sensor/pms7003/Kconfig"
source "drivers/sensor/sht3xd/Kconfig"
source "drivers/sensor/sx9500/Kconfig"
source "drivers/sensor/th02/Kconfig"
source "drivers/sensor/tmp007/Kconfig"
source "drivers/sensor/tmp112/Kconfig"
source "drivers/sensor/vl53l0x/Kconfig"
endif # SENSOR