mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
{drivers/pkg}: add bm680 to Kconfig
This commit is contained in:
parent
e031051e0a
commit
18c937ab69
@ -33,6 +33,7 @@ rsource "apds99xx/Kconfig"
|
||||
rsource "at30tse75x/Kconfig"
|
||||
rsource "bh1750fvi/Kconfig"
|
||||
rsource "bh1900nux/Kconfig"
|
||||
rsource "bme680/Kconfig"
|
||||
rsource "bmx055/Kconfig"
|
||||
rsource "fxos8700/Kconfig"
|
||||
rsource "gp2y10xx/Kconfig"
|
||||
|
38
drivers/bme680/Kconfig
Normal file
38
drivers/bme680/Kconfig
Normal file
@ -0,0 +1,38 @@
|
||||
# Copyright (c) 2020 HAW Hamburg
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
menuconfig MODULE_BME680
|
||||
bool "BME680 Temperature/Humidity/Pressure/Gas sensor"
|
||||
depends on TEST_KCONFIG
|
||||
select PACKAGE_DRIVER_BME680
|
||||
select MODULE_XTIMER if MODULE_SAUL
|
||||
|
||||
if MODULE_BME680
|
||||
|
||||
choice
|
||||
bool "Device interface"
|
||||
help
|
||||
The device can be connected via different buses, select one.
|
||||
|
||||
config MODULE_BME680_I2C
|
||||
bool "I2C"
|
||||
depends on HAS_PERIPH_I2C
|
||||
select MODULE_PERIPH_I2C
|
||||
|
||||
config MODULE_BME680_SPI
|
||||
bool "SPI"
|
||||
depends on HAS_PERIPH_SPI
|
||||
depends on HAS_PERIPH_GPIO
|
||||
select MODULE_PERIPH_SPI
|
||||
select MODULE_PERIPH_GPIO
|
||||
|
||||
endchoice
|
||||
|
||||
config MODULE_BME680_FP
|
||||
bool "Enable floating point"
|
||||
|
||||
endif # MODULE_BME680
|
@ -6,6 +6,7 @@
|
||||
#
|
||||
menu "Packages"
|
||||
|
||||
rsource "driver_bme680/Kconfig"
|
||||
rsource "tinydtls/Kconfig"
|
||||
rsource "wakaama/Kconfig"
|
||||
|
||||
|
15
pkg/driver_bme680/Kconfig
Normal file
15
pkg/driver_bme680/Kconfig
Normal file
@ -0,0 +1,15 @@
|
||||
# Copyright (c) 2020 HAW Hamburg
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
config PACKAGE_DRIVER_BME680
|
||||
bool "BME680 sensor driver package"
|
||||
select MODULE_DRIVER_BME680_CONTRIB
|
||||
|
||||
config MODULE_DRIVER_BME680_CONTRIB
|
||||
bool
|
||||
help
|
||||
RIOT integration code for the BME680 package.
|
Loading…
Reference in New Issue
Block a user