zephyr/drivers/sensor/Kconfig
Anas Nashif 16c5416d70 sensors: use one single sys log config for sensors
Change-Id: I27aadd15ad0ebbaf6373591d52e63fe3f4560378
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-10-07 16:15:54 +00:00

101 lines
2.3 KiB
Text

# Kconfig - sensor configuration options
#
# Copyright (c) 2016 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
menuconfig SENSOR
bool
prompt "Sensor Drivers"
default n
help
Include sensor drivers in system config
config SYS_LOG_SENSOR_LEVEL
int "Sensor Log level"
depends on SYS_LOG && SENSOR
default 0
range 0 4
help
Sets log level for sensor driver.
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
prompt "Sensor init priority"
depends on SENSOR
default 90
help
Sensor initialization priority.
source "drivers/sensor/Kconfig.ak8975"
source "drivers/sensor/Kconfig.bma280"
source "drivers/sensor/Kconfig.bmc150_magn"
source "drivers/sensor/Kconfig.bme280"
source "drivers/sensor/Kconfig.bmg160"
source "drivers/sensor/Kconfig.bmi160"
source "drivers/sensor/Kconfig.dht"
source "drivers/sensor/Kconfig.hdc1008"
source "drivers/sensor/Kconfig.hmc5883l"
source "drivers/sensor/Kconfig.hp206c"
source "drivers/sensor/Kconfig.hts221"
source "drivers/sensor/Kconfig.isl29035"
source "drivers/sensor/Kconfig.lis3dh"
source "drivers/sensor/Kconfig.lis3mdl"
source "drivers/sensor/Kconfig.lps25hb"
source "drivers/sensor/Kconfig.lsm6ds0"
source "drivers/sensor/Kconfig.lsm9ds0_gyro"
source "drivers/sensor/Kconfig.lsm9ds0_mfd"
source "drivers/sensor/Kconfig.max44009"
source "drivers/sensor/Kconfig.mcp9808"
source "drivers/sensor/Kconfig.mpu6050"
source "drivers/sensor/Kconfig.sht3xd"
source "drivers/sensor/Kconfig.sx9500"
source "drivers/sensor/Kconfig.tmp007"
source "drivers/sensor/Kconfig.tmp112"