Merge pull request #15717 from leandrolanzieri/pr/kconfig/drivers_s
drivers/s*: add modules to Kconfig
This commit is contained in:
commit
1d9b898e9f
3
.murdock
3
.murdock
@ -22,7 +22,8 @@ tests/driver_mag3110 tests/driver_mhz19 tests/driver_mma7660
|
|||||||
tests/driver_motor_driver tests/driver_mpl3115a2 tests/driver_mpu9x50
|
tests/driver_motor_driver tests/driver_mpl3115a2 tests/driver_mpu9x50
|
||||||
tests/driver_mq3 tests/driver_my9221 tests/driver_nvram_spi tests/mtd_flashpage
|
tests/driver_mq3 tests/driver_my9221 tests/driver_nvram_spi tests/mtd_flashpage
|
||||||
tests/mtd_mapper tests/driver_o* tests/driver_p* tests/driver_q*
|
tests/mtd_mapper tests/driver_o* tests/driver_p* tests/driver_q*
|
||||||
tests/driver_r* tests/driver_t* tests/driver_u* tests/driver_v*"}
|
tests/driver_r* tests/driver_s* tests/driver_t* tests/driver_u*
|
||||||
|
tests/driver_v*"}
|
||||||
: ${TEST_KCONFIG_native:="examples/hello-world tests/periph_*
|
: ${TEST_KCONFIG_native:="examples/hello-world tests/periph_*
|
||||||
tests/xtimer_* tests/ztimer_* tests/driver_ws281x"}
|
tests/xtimer_* tests/ztimer_* tests/driver_ws281x"}
|
||||||
|
|
||||||
|
|||||||
@ -18,6 +18,7 @@ rsource "grove_ledbar/Kconfig"
|
|||||||
rsource "motor_driver/Kconfig"
|
rsource "motor_driver/Kconfig"
|
||||||
rsource "my9221/Kconfig"
|
rsource "my9221/Kconfig"
|
||||||
rsource "rgbled/Kconfig"
|
rsource "rgbled/Kconfig"
|
||||||
|
rsource "servo/Kconfig"
|
||||||
rsource "ws281x/Kconfig"
|
rsource "ws281x/Kconfig"
|
||||||
endmenu # Actuator Device Drivers
|
endmenu # Actuator Device Drivers
|
||||||
|
|
||||||
@ -47,6 +48,8 @@ rsource "Kconfig.net"
|
|||||||
menu "Peripherals drivers"
|
menu "Peripherals drivers"
|
||||||
rsource "periph_common/Kconfig"
|
rsource "periph_common/Kconfig"
|
||||||
rsource "rtt_rtc/Kconfig"
|
rsource "rtt_rtc/Kconfig"
|
||||||
|
rsource "soft_spi/Kconfig"
|
||||||
|
rsource "soft_uart/Kconfig"
|
||||||
endmenu # Peripherals drivers
|
endmenu # Peripherals drivers
|
||||||
|
|
||||||
menu "Sensor Device Drivers"
|
menu "Sensor Device Drivers"
|
||||||
@ -106,7 +109,22 @@ rsource "ph_oem/Kconfig"
|
|||||||
rsource "pir/Kconfig"
|
rsource "pir/Kconfig"
|
||||||
rsource "pulse_counter/Kconfig"
|
rsource "pulse_counter/Kconfig"
|
||||||
rsource "qmc5883l/Kconfig"
|
rsource "qmc5883l/Kconfig"
|
||||||
|
rsource "scd30/Kconfig"
|
||||||
|
rsource "sdp3x/Kconfig"
|
||||||
|
rsource "sds011/Kconfig"
|
||||||
|
rsource "seesaw_soil/Kconfig"
|
||||||
|
rsource "sht1x/Kconfig"
|
||||||
|
rsource "sht2x/Kconfig"
|
||||||
|
rsource "sht3x/Kconfig"
|
||||||
|
rsource "shtc1/Kconfig"
|
||||||
|
rsource "si70xx/Kconfig"
|
||||||
|
rsource "si114x/Kconfig"
|
||||||
|
rsource "si1133/Kconfig"
|
||||||
rsource "sps30/Kconfig"
|
rsource "sps30/Kconfig"
|
||||||
|
rsource "srf02/Kconfig"
|
||||||
|
rsource "srf04/Kconfig"
|
||||||
|
rsource "srf08/Kconfig"
|
||||||
|
rsource "stmpe811/Kconfig"
|
||||||
rsource "tcs37727/Kconfig"
|
rsource "tcs37727/Kconfig"
|
||||||
rsource "tmp00x/Kconfig"
|
rsource "tmp00x/Kconfig"
|
||||||
rsource "tsl2561/Kconfig"
|
rsource "tsl2561/Kconfig"
|
||||||
|
|||||||
@ -16,6 +16,7 @@ rsource "ncv7356/Kconfig"
|
|||||||
rsource "pn532/Kconfig"
|
rsource "pn532/Kconfig"
|
||||||
rsource "rn2xx3/Kconfig"
|
rsource "rn2xx3/Kconfig"
|
||||||
rsource "slipdev/Kconfig"
|
rsource "slipdev/Kconfig"
|
||||||
|
rsource "sx127x/Kconfig"
|
||||||
rsource "tja1042/Kconfig"
|
rsource "tja1042/Kconfig"
|
||||||
source "$(RIOTCPU)/nrf52/radio/nrf802154/Kconfig"
|
source "$(RIOTCPU)/nrf52/radio/nrf802154/Kconfig"
|
||||||
endmenu # Network Device Drivers
|
endmenu # Network Device Drivers
|
||||||
|
|||||||
@ -127,10 +127,6 @@ ifneq (,$(filter sht1%,$(USEMODULE)))
|
|||||||
USEMODULE += sht1x
|
USEMODULE += sht1x
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter si1133,$(USEMODULE)))
|
|
||||||
USEMODULE += si1133
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(filter si114%,$(USEMODULE)))
|
ifneq (,$(filter si114%,$(USEMODULE)))
|
||||||
USEMODULE += si114x
|
USEMODULE += si114x
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
menuconfig MODULE_SAUL
|
menuconfig MODULE_SAUL
|
||||||
bool "[S]ensor [A]ctuator [U]ber [L]ayer"
|
bool "[S]ensor [A]ctuator [U]ber [L]ayer"
|
||||||
depends on MODULE_PHYDAT
|
select MODULE_PHYDAT
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
help
|
help
|
||||||
SAUL is a generic actuator/sensor interface in RIOT. Its purpose is to
|
SAUL is a generic actuator/sensor interface in RIOT. Its purpose is to
|
||||||
|
|||||||
14
drivers/scd30/Kconfig
Normal file
14
drivers/scd30/Kconfig
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# Copyright (c) 2021 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 MODULE_SCD30
|
||||||
|
bool "SCD30 CO2, temperature and humidity sensor"
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
select MODULE_CHECKSUM
|
||||||
|
select MODULE_XTIMER
|
||||||
@ -1,5 +1,3 @@
|
|||||||
ifneq (,$(filter scd30,$(USEMODULE)))
|
FEATURES_REQUIRED += periph_i2c
|
||||||
FEATURES_REQUIRED += periph_i2c
|
USEMODULE += checksum
|
||||||
USEMODULE += checksum
|
USEMODULE += xtimer
|
||||||
USEMODULE += xtimer
|
|
||||||
endif
|
|
||||||
|
|||||||
22
drivers/sdp3x/Kconfig
Normal file
22
drivers/sdp3x/Kconfig
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# Copyright (c) 2021 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_SDP3X
|
||||||
|
bool "SDP3X temperature and differential pressure sensor"
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
select MODULE_CHECKSUM
|
||||||
|
select MODULE_XTIMER
|
||||||
|
|
||||||
|
config MODULE_SDP3X_IRQ
|
||||||
|
bool "GPIO interrupt support"
|
||||||
|
depends on HAS_PERIPH_GPIO
|
||||||
|
depends on HAS_PERIPH_GPIO_IRQ
|
||||||
|
depends on MODULE_SDP3X
|
||||||
|
select MODULE_PERIPH_GPIO
|
||||||
|
select MODULE_PERIPH_GPIO_IRQ
|
||||||
12
drivers/sds011/Kconfig
Normal file
12
drivers/sds011/Kconfig
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# Copyright (c) 2021 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 MODULE_SDS011
|
||||||
|
bool "SDS011 Laser Dust Sensor"
|
||||||
|
depends on HAS_PERIPH_UART
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_UART
|
||||||
@ -1,9 +1,18 @@
|
|||||||
# Copyright (c) 2020 Viktor Gal
|
# Copyright (c) 2020 Viktor Gal
|
||||||
|
# 2021 HAW Hamburg
|
||||||
#
|
#
|
||||||
# This file is subject to the terms and conditions of the GNU Lesser
|
# 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
|
# General Public License v2.1. See the file LICENSE in the top level
|
||||||
# directory for more details.
|
# directory for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
config MODULE_SEESAW_SOIL
|
||||||
|
bool "Adafruit Seesaw Soil Moisture and Temperature Sensor"
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
select MODULE_XTIMER
|
||||||
|
|
||||||
menuconfig KCONFIG_MODULE_SEESAW_SOIL
|
menuconfig KCONFIG_MODULE_SEESAW_SOIL
|
||||||
bool "Configure SEESAW_SOIL driver"
|
bool "Configure SEESAW_SOIL driver"
|
||||||
depends on MODULE_SEESAW_SOIL
|
depends on MODULE_SEESAW_SOIL
|
||||||
|
|||||||
12
drivers/servo/Kconfig
Normal file
12
drivers/servo/Kconfig
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# Copyright (c) 2021 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 MODULE_SERVO
|
||||||
|
bool "Servo Motor driver"
|
||||||
|
depends on HAS_PERIPH_PWM
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_PWM
|
||||||
36
drivers/sht1x/Kconfig
Normal file
36
drivers/sht1x/Kconfig
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright (c) 2021 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
if TEST_KCONFIG
|
||||||
|
|
||||||
|
choice
|
||||||
|
bool "SHT10/SHT11/SHT15 Humidity and Temperature Sensor"
|
||||||
|
optional
|
||||||
|
depends on HAS_PERIPH_GPIO
|
||||||
|
|
||||||
|
config MODULE_SHT10
|
||||||
|
bool "SHT10"
|
||||||
|
select MODULE_SHT1X
|
||||||
|
|
||||||
|
config MODULE_SHT11
|
||||||
|
bool "SHT11"
|
||||||
|
select MODULE_SHT1X
|
||||||
|
|
||||||
|
config MODULE_SHT15
|
||||||
|
bool "SHT15"
|
||||||
|
select MODULE_SHT1X
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
config MODULE_SHT1X
|
||||||
|
bool
|
||||||
|
depends on HAS_PERIPH_GPIO
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_GPIO
|
||||||
|
select MODULE_XTIMER
|
||||||
|
|
||||||
|
endif # TEST_KCONFIG
|
||||||
13
drivers/sht2x/Kconfig
Normal file
13
drivers/sht2x/Kconfig
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright (c) 2021 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 MODULE_SHT2X
|
||||||
|
bool "SHT2x temperature and humidity sensor"
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
select MODULE_XTIMER
|
||||||
14
drivers/sht3x/Kconfig
Normal file
14
drivers/sht3x/Kconfig
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# Copyright (c) 2021 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 MODULE_SHT3X
|
||||||
|
bool "Sensirion SHT30/SHT31/SHT35 Humidity and Temperature Sensors"
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
select MODULE_CHECKSUM
|
||||||
|
select MODULE_XTIMER
|
||||||
14
drivers/shtc1/Kconfig
Normal file
14
drivers/shtc1/Kconfig
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# Copyright (c) 2021 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 MODULE_SHTC1
|
||||||
|
bool "Sensirion SHTC1 Temperature and humidity sensor"
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
select MODULE_CHECKSUM
|
||||||
|
select MODULE_XTIMER
|
||||||
13
drivers/si1133/Kconfig
Normal file
13
drivers/si1133/Kconfig
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright (c) 2021 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 MODULE_SI1133
|
||||||
|
bool "Si1133 UV Index/Ambient Light Sensor with I2C"
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
select MODULE_XTIMER
|
||||||
36
drivers/si114x/Kconfig
Normal file
36
drivers/si114x/Kconfig
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright (c) 2021 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
if TEST_KCONFIG
|
||||||
|
|
||||||
|
choice
|
||||||
|
bool "Si1145/6/7 UV/Ambient light/Proximity sensors"
|
||||||
|
optional
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
|
||||||
|
config MODULE_SI1145
|
||||||
|
bool "SI1145"
|
||||||
|
select MODULE_SI114X
|
||||||
|
|
||||||
|
config MODULE_SI1146
|
||||||
|
bool "SI1146"
|
||||||
|
select MODULE_SI114X
|
||||||
|
|
||||||
|
config MODULE_SI1147
|
||||||
|
bool "SI1147"
|
||||||
|
select MODULE_SI114X
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
config MODULE_SI114X
|
||||||
|
bool
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
select MODULE_XTIMER
|
||||||
|
|
||||||
|
endif # TEST_KCONFIG
|
||||||
40
drivers/si70xx/Kconfig
Normal file
40
drivers/si70xx/Kconfig
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
# Copyright (c) 2021 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
if TEST_KCONFIG
|
||||||
|
|
||||||
|
choice
|
||||||
|
bool "Si7006/13/20/21 temperature and humidity sensors"
|
||||||
|
optional
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
|
||||||
|
config MODULE_SI7006
|
||||||
|
bool "SI7006"
|
||||||
|
select MODULE_SI70XX
|
||||||
|
|
||||||
|
config MODULE_SI7013
|
||||||
|
bool "SI7013"
|
||||||
|
select MODULE_SI70XX
|
||||||
|
|
||||||
|
config MODULE_SI7020
|
||||||
|
bool "SI7020"
|
||||||
|
select MODULE_SI70XX
|
||||||
|
|
||||||
|
config MODULE_SI7021
|
||||||
|
bool "SI7021"
|
||||||
|
select MODULE_SI70XX
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
config MODULE_SI70XX
|
||||||
|
bool
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
select MODULE_XTIMER
|
||||||
|
|
||||||
|
endif # TEST_KCONFIG
|
||||||
@ -1,9 +1,18 @@
|
|||||||
# Copyright (c) 2020 Freie Universitaet Berlin
|
# Copyright (c) 2020 Freie Universitaet Berlin
|
||||||
|
# 2021 HAW Hamburg
|
||||||
#
|
#
|
||||||
# This file is subject to the terms and conditions of the GNU Lesser
|
# 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
|
# General Public License v2.1. See the file LICENSE in the top level
|
||||||
# directory for more details.
|
# directory for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
menuconfig MODULE_SLIPDEV
|
||||||
|
bool "SLIP over UART network device"
|
||||||
|
depends on HAS_PERIPH_UART
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_TSRB
|
||||||
|
select MODULE_PERIPH_UART
|
||||||
|
|
||||||
menuconfig KCONFIG_USEMODULE_SLIPDEV
|
menuconfig KCONFIG_USEMODULE_SLIPDEV
|
||||||
bool "Configure SLIPDEV driver"
|
bool "Configure SLIPDEV driver"
|
||||||
depends on USEMODULE_SLIPDEV
|
depends on USEMODULE_SLIPDEV
|
||||||
|
|||||||
13
drivers/soft_spi/Kconfig
Normal file
13
drivers/soft_spi/Kconfig
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright (c) 2021 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 MODULE_SOFT_SPI
|
||||||
|
bool "Software-implemented SPI"
|
||||||
|
depends on HAS_PERIPH_GPIO
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_GPIO
|
||||||
|
select MODULE_XTIMER
|
||||||
22
drivers/soft_uart/Kconfig
Normal file
22
drivers/soft_uart/Kconfig
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# Copyright (c) 2021 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_SOFT_UART
|
||||||
|
bool "Software-implemented UART"
|
||||||
|
depends on HAS_PERIPH_GPIO
|
||||||
|
depends on HAS_PERIPH_GPIO_IRQ
|
||||||
|
depends on HAS_PERIPH_TIMER
|
||||||
|
depends on HAS_PERIPH_TIMER_PERIODIC
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_GPIO
|
||||||
|
select MODULE_PERIPH_GPIO_IRQ
|
||||||
|
select MODULE_PERIPH_TIMER
|
||||||
|
select MODULE_PERIPH_TIMER_PERIODIC
|
||||||
|
|
||||||
|
config MODULE_SOFT_UART_MODECFG
|
||||||
|
bool "Mode configuration support"
|
||||||
|
depends on MODULE_SOFT_UART
|
||||||
@ -1,9 +1,18 @@
|
|||||||
# Copyright (c) 2020 Freie Universitaet Berlin
|
# Copyright (c) 2020 Freie Universitaet Berlin
|
||||||
|
# 2021 HAW Hamburg
|
||||||
#
|
#
|
||||||
# This file is subject to the terms and conditions of the GNU Lesser
|
# 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
|
# General Public License v2.1. See the file LICENSE in the top level
|
||||||
# directory for more details.
|
# directory for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
config MODULE_SPS30
|
||||||
|
bool "SPS30 Particulate Matter Sensor"
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_CHECKSUM
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
|
||||||
menuconfig KCONFIG_USEMODULE_SPS30
|
menuconfig KCONFIG_USEMODULE_SPS30
|
||||||
bool "Configure SPS30 driver"
|
bool "Configure SPS30 driver"
|
||||||
depends on USEMODULE_SPS30
|
depends on USEMODULE_SPS30
|
||||||
|
|||||||
13
drivers/srf02/Kconfig
Normal file
13
drivers/srf02/Kconfig
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright (c) 2021 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 MODULE_SRF02
|
||||||
|
bool "SRF02 ultrasonic range sensor"
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
select MODULE_XTIMER
|
||||||
15
drivers/srf04/Kconfig
Normal file
15
drivers/srf04/Kconfig
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Copyright (c) 2021 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 MODULE_SRF04
|
||||||
|
bool "SRF04 ultrasonic range finder"
|
||||||
|
depends on HAS_PERIPH_GPIO
|
||||||
|
depends on HAS_PERIPH_GPIO_IRQ
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_GPIO
|
||||||
|
select MODULE_PERIPH_GPIO_IRQ
|
||||||
|
select MODULE_XTIMER
|
||||||
13
drivers/srf08/Kconfig
Normal file
13
drivers/srf08/Kconfig
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright (c) 2021 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 MODULE_SRF08
|
||||||
|
bool "SRF08 ultrasonic range sensor"
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
select MODULE_XTIMER
|
||||||
17
drivers/stmpe811/Kconfig
Normal file
17
drivers/stmpe811/Kconfig
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Copyright (c) 2021 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 MODULE_STMPE811
|
||||||
|
bool "STMPE811 Touchscreen Controller"
|
||||||
|
depends on HAS_PERIPH_GPIO
|
||||||
|
depends on HAS_PERIPH_GPIO_IRQ
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_GPIO
|
||||||
|
select MODULE_PERIPH_GPIO_IRQ
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
select MODULE_XTIMER
|
||||||
49
drivers/sx127x/Kconfig
Normal file
49
drivers/sx127x/Kconfig
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
# Copyright (c) 2021 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
if TEST_KCONFIG
|
||||||
|
|
||||||
|
choice
|
||||||
|
bool "Semtech SX1272 and SX1276 radios driver"
|
||||||
|
optional
|
||||||
|
depends on HAS_PERIPH_GPIO
|
||||||
|
depends on HAS_PERIPH_GPIO_IRQ
|
||||||
|
depends on HAS_PERIPH_SPI
|
||||||
|
depends on HAS_PERIPH_TIMER
|
||||||
|
help
|
||||||
|
Only LoRa long range modem is supported at the moment.
|
||||||
|
|
||||||
|
config MODULE_SX1272
|
||||||
|
bool "SX1272"
|
||||||
|
select MODULE_SX127X
|
||||||
|
|
||||||
|
config MODULE_SX1276
|
||||||
|
bool "SX1276"
|
||||||
|
select MODULE_SX127X
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
config MODULE_SX127X
|
||||||
|
bool
|
||||||
|
depends on HAS_PERIPH_GPIO
|
||||||
|
depends on HAS_PERIPH_GPIO_IRQ
|
||||||
|
depends on HAS_PERIPH_SPI
|
||||||
|
|
||||||
|
select MODULE_IOLIST
|
||||||
|
select MODULE_LORA
|
||||||
|
select MODULE_PERIPH_GPIO
|
||||||
|
select MODULE_PERIPH_GPIO_IRQ
|
||||||
|
select MODULE_PERIPH_SPI_GPIO_MODE if HAS_PERIPH_SPI_GPIO_MODE
|
||||||
|
select MODULE_PERIPH_SPI
|
||||||
|
select MODULE_ZTIMER
|
||||||
|
select MODULE_ZTIMER_PERIPH_TIMER
|
||||||
|
select MODULE_ZTIMER_USEC
|
||||||
|
select MODULE_ZTIMER_MSEC
|
||||||
|
|
||||||
|
imply MODULE_ZTIMER_PERIPH_RTT
|
||||||
|
|
||||||
|
endif # TEST_KCONFIG
|
||||||
@ -17,6 +17,7 @@ rsource "entropy_source/Kconfig"
|
|||||||
rsource "event/Kconfig"
|
rsource "event/Kconfig"
|
||||||
rsource "fmt/Kconfig"
|
rsource "fmt/Kconfig"
|
||||||
rsource "frac/Kconfig"
|
rsource "frac/Kconfig"
|
||||||
|
rsource "iolist/Kconfig"
|
||||||
rsource "isrpipe/Kconfig"
|
rsource "isrpipe/Kconfig"
|
||||||
rsource "malloc_thread_safe/Kconfig"
|
rsource "malloc_thread_safe/Kconfig"
|
||||||
rsource "net/Kconfig"
|
rsource "net/Kconfig"
|
||||||
@ -25,6 +26,7 @@ rsource "Kconfig.stdio"
|
|||||||
rsource "od/Kconfig"
|
rsource "od/Kconfig"
|
||||||
rsource "phydat/Kconfig"
|
rsource "phydat/Kconfig"
|
||||||
rsource "pm_layered/Kconfig"
|
rsource "pm_layered/Kconfig"
|
||||||
|
rsource "ps/Kconfig"
|
||||||
rsource "saul_reg/Kconfig"
|
rsource "saul_reg/Kconfig"
|
||||||
rsource "schedstatistics/Kconfig"
|
rsource "schedstatistics/Kconfig"
|
||||||
rsource "shell/Kconfig"
|
rsource "shell/Kconfig"
|
||||||
|
|||||||
@ -13,8 +13,12 @@ choice
|
|||||||
default MODULE_STDIO_NATIVE if CPU_ARCH_NATIVE
|
default MODULE_STDIO_NATIVE if CPU_ARCH_NATIVE
|
||||||
default MODULE_STDIO_UART
|
default MODULE_STDIO_UART
|
||||||
|
|
||||||
# TODO: Add MODULE_STDIO_CDC_ACM, MODULE_STDIO_RTT, MODULE_SLIPDEV_STDIO,
|
# TODO: Add MODULE_STDIO_CDC_ACM, MODULE_STDIO_RTT, and MODULE_STDIO_ETHOS
|
||||||
# and MODULE_STDIO_ETHOS
|
|
||||||
|
config MODULE_SLIPDEV_STDIO
|
||||||
|
bool "SLIP network device"
|
||||||
|
depends on MODULE_SLIPDEV
|
||||||
|
select MODULE_ISRPIPE
|
||||||
|
|
||||||
config MODULE_STDIO_NULL
|
config MODULE_STDIO_NULL
|
||||||
bool "Null"
|
bool "Null"
|
||||||
|
|||||||
10
sys/iolist/Kconfig
Normal file
10
sys/iolist/Kconfig
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Copyright (c) 2021 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 MODULE_IOLIST
|
||||||
|
bool "iolist scatter / gather IO"
|
||||||
|
depends on TEST_KCONFIG
|
||||||
@ -4,6 +4,11 @@
|
|||||||
# General Public License v2.1. See the file LICENSE in the top level
|
# General Public License v2.1. See the file LICENSE in the top level
|
||||||
# directory for more details.
|
# directory for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
config MODULE_LORA
|
||||||
|
bool "LoRa PHY support"
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
|
||||||
menuconfig KCONFIG_USEMODULE_LORA
|
menuconfig KCONFIG_USEMODULE_LORA
|
||||||
bool "Configure LoRa PHY"
|
bool "Configure LoRa PHY"
|
||||||
depends on USEMODULE_LORA
|
depends on USEMODULE_LORA
|
||||||
|
|||||||
@ -7,5 +7,6 @@
|
|||||||
|
|
||||||
config MODULE_SAUL_REG
|
config MODULE_SAUL_REG
|
||||||
bool "Global sensor/actuator registry for SAUL devices"
|
bool "Global sensor/actuator registry for SAUL devices"
|
||||||
|
default y
|
||||||
depends on MODULE_SAUL
|
depends on MODULE_SAUL
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
|
|||||||
4
tests/driver_scd30/app.config.test
Normal file
4
tests/driver_scd30/app.config.test
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
CONFIG_MODULE_SCD30=y
|
||||||
|
CONFIG_MODULE_PRINTF_FLOAT=y
|
||||||
5
tests/driver_sdcard_spi/app.config.test
Normal file
5
tests/driver_sdcard_spi/app.config.test
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
CONFIG_MODULE_SDCARD_SPI=y
|
||||||
|
CONFIG_MODULE_FMT=y
|
||||||
|
CONFIG_MODULE_SHELL=y
|
||||||
7
tests/driver_sdp3x/app.config.test
Normal file
7
tests/driver_sdp3x/app.config.test
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
CONFIG_MODULE_SDP3X=y
|
||||||
|
# enable interrupt support
|
||||||
|
CONFIG_MODULE_SDP3X_IRQ=y
|
||||||
|
|
||||||
|
CONFIG_MODULE_PRINTF_FLOAT=y
|
||||||
4
tests/driver_sds011/app.config.test
Normal file
4
tests/driver_sds011/app.config.test
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
CONFIG_MODULE_SDS011=y
|
||||||
|
CONFIG_MODULE_XTIMER=y
|
||||||
5
tests/driver_seesaw_soil/app.config.test
Normal file
5
tests/driver_seesaw_soil/app.config.test
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
CONFIG_MODULE_SEESAW_SOIL=y
|
||||||
|
CONFIG_MODULE_XTIMER=y
|
||||||
|
CONFIG_MODULE_FMT=y
|
||||||
4
tests/driver_servo/app.config.test
Normal file
4
tests/driver_servo/app.config.test
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
CONFIG_MODULE_SERVO=y
|
||||||
|
CONFIG_MODULE_XTIMER=y
|
||||||
12
tests/driver_sht1x/app.config.test
Normal file
12
tests/driver_sht1x/app.config.test
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
|
||||||
|
# enable saul subsystem and the default devices on the platform
|
||||||
|
CONFIG_MODULE_SAUL=y
|
||||||
|
CONFIG_MODULE_SAUL_DEFAULT=y
|
||||||
|
|
||||||
|
CONFIG_MODULE_SHT11=y
|
||||||
|
|
||||||
|
CONFIG_MODULE_PS=y
|
||||||
|
CONFIG_MODULE_SHELL=y
|
||||||
|
CONFIG_MODULE_SHELL_COMMANDS=y
|
||||||
4
tests/driver_sht2x/app.config.test
Normal file
4
tests/driver_sht2x/app.config.test
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
CONFIG_MODULE_SHT2X=y
|
||||||
|
CONFIG_MODULE_XTIMER=y
|
||||||
3
tests/driver_sht3x/app.config.test
Normal file
3
tests/driver_sht3x/app.config.test
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
CONFIG_MODULE_SHT3X=y
|
||||||
4
tests/driver_shtc1/app.config.test
Normal file
4
tests/driver_shtc1/app.config.test
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
CONFIG_MODULE_FMT=y
|
||||||
|
CONFIG_MODULE_SHTC1=y
|
||||||
4
tests/driver_si1133/app.config.test
Normal file
4
tests/driver_si1133/app.config.test
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
CONFIG_MODULE_SI1133=y
|
||||||
|
CONFIG_MODULE_XTIMER=y
|
||||||
5
tests/driver_si114x/app.config.test
Normal file
5
tests/driver_si114x/app.config.test
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
|
||||||
|
# This test should also work with Si1146 and Si1147 variants.
|
||||||
|
CONFIG_MODULE_SI1145=y
|
||||||
5
tests/driver_si70xx/app.config.test
Normal file
5
tests/driver_si70xx/app.config.test
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
|
||||||
|
# This test should also work with Si7006, Si7013 and Si7020 variants.
|
||||||
|
CONFIG_MODULE_SI7021=y
|
||||||
3
tests/driver_soft_spi/app.config.test
Normal file
3
tests/driver_soft_spi/app.config.test
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
CONFIG_MODULE_SOFT_SPI=y
|
||||||
5
tests/driver_soft_uart/app.config.test
Normal file
5
tests/driver_soft_uart/app.config.test
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
CONFIG_MODULE_SOFT_UART=y
|
||||||
|
CONFIG_MODULE_SOFT_UART_MODECFG=y
|
||||||
|
CONFIG_MODULE_SHELL=y
|
||||||
4
tests/driver_sps30/app.config.test
Normal file
4
tests/driver_sps30/app.config.test
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
CONFIG_MODULE_SPS30=y
|
||||||
|
CONFIG_MODULE_XTIMER=y
|
||||||
5
tests/driver_srf02/app.config.test
Normal file
5
tests/driver_srf02/app.config.test
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
CONFIG_MODULE_XTIMER=y
|
||||||
|
CONFIG_MODULE_SRF02=y
|
||||||
|
CONFIG_MODULE_SHELL=y
|
||||||
3
tests/driver_srf04/app.config.test
Normal file
3
tests/driver_srf04/app.config.test
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
CONFIG_MODULE_SRF04=y
|
||||||
4
tests/driver_srf08/app.config.test
Normal file
4
tests/driver_srf08/app.config.test
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
CONFIG_MODULE_SRF08=y
|
||||||
|
CONFIG_MODULE_XTIMER=y
|
||||||
3
tests/driver_stmpe811/app.config.test
Normal file
3
tests/driver_stmpe811/app.config.test
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
CONFIG_MODULE_STMPE811=y
|
||||||
9
tests/driver_sx127x/app.config.test
Normal file
9
tests/driver_sx127x/app.config.test
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
|
||||||
|
CONFIG_MODULE_SX1276=y
|
||||||
|
|
||||||
|
CONFIG_MODULE_OD=y
|
||||||
|
CONFIG_MODULE_SHELL=y
|
||||||
|
CONFIG_MODULE_SHELL_COMMANDS=y
|
||||||
|
CONFIG_MODULE_PS=y
|
||||||
Loading…
x
Reference in New Issue
Block a user