diff --git a/.murdock b/.murdock index 98cc39cac6..1e2fb2d7e6 100755 --- a/.murdock +++ b/.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_mq3 tests/driver_my9221 tests/driver_nvram_spi tests/mtd_flashpage 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_* tests/xtimer_* tests/ztimer_* tests/driver_ws281x"} diff --git a/drivers/Kconfig b/drivers/Kconfig index 87c5e9ae66..8027e6eef4 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -18,6 +18,7 @@ rsource "grove_ledbar/Kconfig" rsource "motor_driver/Kconfig" rsource "my9221/Kconfig" rsource "rgbled/Kconfig" +rsource "servo/Kconfig" rsource "ws281x/Kconfig" endmenu # Actuator Device Drivers @@ -47,6 +48,8 @@ rsource "Kconfig.net" menu "Peripherals drivers" rsource "periph_common/Kconfig" rsource "rtt_rtc/Kconfig" +rsource "soft_spi/Kconfig" +rsource "soft_uart/Kconfig" endmenu # Peripherals drivers menu "Sensor Device Drivers" @@ -106,7 +109,22 @@ rsource "ph_oem/Kconfig" rsource "pir/Kconfig" rsource "pulse_counter/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 "srf02/Kconfig" +rsource "srf04/Kconfig" +rsource "srf08/Kconfig" +rsource "stmpe811/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" rsource "tsl2561/Kconfig" diff --git a/drivers/Kconfig.net b/drivers/Kconfig.net index e04154c799..04b6b27e16 100644 --- a/drivers/Kconfig.net +++ b/drivers/Kconfig.net @@ -16,6 +16,7 @@ rsource "ncv7356/Kconfig" rsource "pn532/Kconfig" rsource "rn2xx3/Kconfig" rsource "slipdev/Kconfig" +rsource "sx127x/Kconfig" rsource "tja1042/Kconfig" source "$(RIOTCPU)/nrf52/radio/nrf802154/Kconfig" endmenu # Network Device Drivers diff --git a/drivers/Makefile.dep b/drivers/Makefile.dep index 4db0629a39..37b89bc6d0 100644 --- a/drivers/Makefile.dep +++ b/drivers/Makefile.dep @@ -127,10 +127,6 @@ ifneq (,$(filter sht1%,$(USEMODULE))) USEMODULE += sht1x endif -ifneq (,$(filter si1133,$(USEMODULE))) - USEMODULE += si1133 -endif - ifneq (,$(filter si114%,$(USEMODULE))) USEMODULE += si114x endif diff --git a/drivers/saul/Kconfig b/drivers/saul/Kconfig index 160da78080..d62d63a1c3 100644 --- a/drivers/saul/Kconfig +++ b/drivers/saul/Kconfig @@ -7,7 +7,7 @@ menuconfig MODULE_SAUL bool "[S]ensor [A]ctuator [U]ber [L]ayer" - depends on MODULE_PHYDAT + select MODULE_PHYDAT depends on TEST_KCONFIG help SAUL is a generic actuator/sensor interface in RIOT. Its purpose is to diff --git a/drivers/scd30/Kconfig b/drivers/scd30/Kconfig new file mode 100644 index 0000000000..07847c192e --- /dev/null +++ b/drivers/scd30/Kconfig @@ -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 diff --git a/drivers/scd30/Makefile.dep b/drivers/scd30/Makefile.dep index 98694efeb1..c237d318a8 100644 --- a/drivers/scd30/Makefile.dep +++ b/drivers/scd30/Makefile.dep @@ -1,5 +1,3 @@ -ifneq (,$(filter scd30,$(USEMODULE))) - FEATURES_REQUIRED += periph_i2c - USEMODULE += checksum - USEMODULE += xtimer -endif \ No newline at end of file +FEATURES_REQUIRED += periph_i2c +USEMODULE += checksum +USEMODULE += xtimer diff --git a/drivers/sdp3x/Kconfig b/drivers/sdp3x/Kconfig new file mode 100644 index 0000000000..57c13385ac --- /dev/null +++ b/drivers/sdp3x/Kconfig @@ -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 diff --git a/drivers/sds011/Kconfig b/drivers/sds011/Kconfig new file mode 100644 index 0000000000..727d23629c --- /dev/null +++ b/drivers/sds011/Kconfig @@ -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 diff --git a/drivers/seesaw_soil/Kconfig b/drivers/seesaw_soil/Kconfig index 920487a604..1997fdc3b5 100644 --- a/drivers/seesaw_soil/Kconfig +++ b/drivers/seesaw_soil/Kconfig @@ -1,9 +1,18 @@ # Copyright (c) 2020 Viktor Gal +# 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_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 bool "Configure SEESAW_SOIL driver" depends on MODULE_SEESAW_SOIL diff --git a/drivers/servo/Kconfig b/drivers/servo/Kconfig new file mode 100644 index 0000000000..9cff354f93 --- /dev/null +++ b/drivers/servo/Kconfig @@ -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 diff --git a/drivers/sht1x/Kconfig b/drivers/sht1x/Kconfig new file mode 100644 index 0000000000..11ded3b359 --- /dev/null +++ b/drivers/sht1x/Kconfig @@ -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 diff --git a/drivers/sht2x/Kconfig b/drivers/sht2x/Kconfig new file mode 100644 index 0000000000..4fbc0ab7bf --- /dev/null +++ b/drivers/sht2x/Kconfig @@ -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 diff --git a/drivers/sht3x/Kconfig b/drivers/sht3x/Kconfig new file mode 100644 index 0000000000..d83ca53ad2 --- /dev/null +++ b/drivers/sht3x/Kconfig @@ -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 diff --git a/drivers/shtc1/Kconfig b/drivers/shtc1/Kconfig new file mode 100644 index 0000000000..5f01412553 --- /dev/null +++ b/drivers/shtc1/Kconfig @@ -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 diff --git a/drivers/si1133/Kconfig b/drivers/si1133/Kconfig new file mode 100644 index 0000000000..a87efb8590 --- /dev/null +++ b/drivers/si1133/Kconfig @@ -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 diff --git a/drivers/si114x/Kconfig b/drivers/si114x/Kconfig new file mode 100644 index 0000000000..e6eb07c3b9 --- /dev/null +++ b/drivers/si114x/Kconfig @@ -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 diff --git a/drivers/si70xx/Kconfig b/drivers/si70xx/Kconfig new file mode 100644 index 0000000000..4b20913573 --- /dev/null +++ b/drivers/si70xx/Kconfig @@ -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 diff --git a/drivers/slipdev/Kconfig b/drivers/slipdev/Kconfig index f4320d1c8f..b5769f7453 100644 --- a/drivers/slipdev/Kconfig +++ b/drivers/slipdev/Kconfig @@ -1,9 +1,18 @@ # Copyright (c) 2020 Freie Universitaet Berlin +# 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_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 bool "Configure SLIPDEV driver" depends on USEMODULE_SLIPDEV diff --git a/drivers/soft_spi/Kconfig b/drivers/soft_spi/Kconfig new file mode 100644 index 0000000000..5ba30b749a --- /dev/null +++ b/drivers/soft_spi/Kconfig @@ -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 diff --git a/drivers/soft_uart/Kconfig b/drivers/soft_uart/Kconfig new file mode 100644 index 0000000000..1f0d24f5bd --- /dev/null +++ b/drivers/soft_uart/Kconfig @@ -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 diff --git a/drivers/sps30/Kconfig b/drivers/sps30/Kconfig index d51373f091..fc81f9010d 100644 --- a/drivers/sps30/Kconfig +++ b/drivers/sps30/Kconfig @@ -1,9 +1,18 @@ # Copyright (c) 2020 Freie Universitaet Berlin +# 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_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 bool "Configure SPS30 driver" depends on USEMODULE_SPS30 diff --git a/drivers/srf02/Kconfig b/drivers/srf02/Kconfig new file mode 100644 index 0000000000..2b2189917e --- /dev/null +++ b/drivers/srf02/Kconfig @@ -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 diff --git a/drivers/srf04/Kconfig b/drivers/srf04/Kconfig new file mode 100644 index 0000000000..cacfa85145 --- /dev/null +++ b/drivers/srf04/Kconfig @@ -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 diff --git a/drivers/srf08/Kconfig b/drivers/srf08/Kconfig new file mode 100644 index 0000000000..9b92e9c166 --- /dev/null +++ b/drivers/srf08/Kconfig @@ -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 diff --git a/drivers/stmpe811/Kconfig b/drivers/stmpe811/Kconfig new file mode 100644 index 0000000000..61a90acaab --- /dev/null +++ b/drivers/stmpe811/Kconfig @@ -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 diff --git a/drivers/sx127x/Kconfig b/drivers/sx127x/Kconfig new file mode 100644 index 0000000000..1e20fc4eb9 --- /dev/null +++ b/drivers/sx127x/Kconfig @@ -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 diff --git a/sys/Kconfig b/sys/Kconfig index da382b4a52..0350cb8d76 100644 --- a/sys/Kconfig +++ b/sys/Kconfig @@ -17,6 +17,7 @@ rsource "entropy_source/Kconfig" rsource "event/Kconfig" rsource "fmt/Kconfig" rsource "frac/Kconfig" +rsource "iolist/Kconfig" rsource "isrpipe/Kconfig" rsource "malloc_thread_safe/Kconfig" rsource "net/Kconfig" @@ -25,6 +26,7 @@ rsource "Kconfig.stdio" rsource "od/Kconfig" rsource "phydat/Kconfig" rsource "pm_layered/Kconfig" +rsource "ps/Kconfig" rsource "saul_reg/Kconfig" rsource "schedstatistics/Kconfig" rsource "shell/Kconfig" diff --git a/sys/Kconfig.stdio b/sys/Kconfig.stdio index 88d9cdfbb8..5aec6f22e7 100644 --- a/sys/Kconfig.stdio +++ b/sys/Kconfig.stdio @@ -13,8 +13,12 @@ choice default MODULE_STDIO_NATIVE if CPU_ARCH_NATIVE default MODULE_STDIO_UART -# TODO: Add MODULE_STDIO_CDC_ACM, MODULE_STDIO_RTT, MODULE_SLIPDEV_STDIO, -# and MODULE_STDIO_ETHOS +# TODO: Add MODULE_STDIO_CDC_ACM, MODULE_STDIO_RTT, and MODULE_STDIO_ETHOS + +config MODULE_SLIPDEV_STDIO + bool "SLIP network device" + depends on MODULE_SLIPDEV + select MODULE_ISRPIPE config MODULE_STDIO_NULL bool "Null" diff --git a/sys/iolist/Kconfig b/sys/iolist/Kconfig new file mode 100644 index 0000000000..8b9c5d2bed --- /dev/null +++ b/sys/iolist/Kconfig @@ -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 diff --git a/sys/net/lora/Kconfig b/sys/net/lora/Kconfig index 3e873ca56c..f9a5b9d5d4 100644 --- a/sys/net/lora/Kconfig +++ b/sys/net/lora/Kconfig @@ -4,6 +4,11 @@ # General Public License v2.1. See the file LICENSE in the top level # directory for more details. # + +config MODULE_LORA + bool "LoRa PHY support" + depends on TEST_KCONFIG + menuconfig KCONFIG_USEMODULE_LORA bool "Configure LoRa PHY" depends on USEMODULE_LORA diff --git a/sys/saul_reg/Kconfig b/sys/saul_reg/Kconfig index ec28fa4f66..5ed1ec13cf 100644 --- a/sys/saul_reg/Kconfig +++ b/sys/saul_reg/Kconfig @@ -7,5 +7,6 @@ config MODULE_SAUL_REG bool "Global sensor/actuator registry for SAUL devices" + default y depends on MODULE_SAUL depends on TEST_KCONFIG diff --git a/tests/driver_scd30/app.config.test b/tests/driver_scd30/app.config.test new file mode 100644 index 0000000000..62e6ff16ba --- /dev/null +++ b/tests/driver_scd30/app.config.test @@ -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 diff --git a/tests/driver_sdcard_spi/app.config.test b/tests/driver_sdcard_spi/app.config.test new file mode 100644 index 0000000000..e05bfa2bd4 --- /dev/null +++ b/tests/driver_sdcard_spi/app.config.test @@ -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 diff --git a/tests/driver_sdp3x/app.config.test b/tests/driver_sdp3x/app.config.test new file mode 100644 index 0000000000..0399efe161 --- /dev/null +++ b/tests/driver_sdp3x/app.config.test @@ -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 diff --git a/tests/driver_sds011/app.config.test b/tests/driver_sds011/app.config.test new file mode 100644 index 0000000000..31ab0616f4 --- /dev/null +++ b/tests/driver_sds011/app.config.test @@ -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 diff --git a/tests/driver_seesaw_soil/app.config.test b/tests/driver_seesaw_soil/app.config.test new file mode 100644 index 0000000000..b663495cb5 --- /dev/null +++ b/tests/driver_seesaw_soil/app.config.test @@ -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 diff --git a/tests/driver_servo/app.config.test b/tests/driver_servo/app.config.test new file mode 100644 index 0000000000..95e7509438 --- /dev/null +++ b/tests/driver_servo/app.config.test @@ -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 diff --git a/tests/driver_sht1x/app.config.test b/tests/driver_sht1x/app.config.test new file mode 100644 index 0000000000..77cb514afb --- /dev/null +++ b/tests/driver_sht1x/app.config.test @@ -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 diff --git a/tests/driver_sht2x/app.config.test b/tests/driver_sht2x/app.config.test new file mode 100644 index 0000000000..2eeb096365 --- /dev/null +++ b/tests/driver_sht2x/app.config.test @@ -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 diff --git a/tests/driver_sht3x/app.config.test b/tests/driver_sht3x/app.config.test new file mode 100644 index 0000000000..6dd544521f --- /dev/null +++ b/tests/driver_sht3x/app.config.test @@ -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 diff --git a/tests/driver_shtc1/app.config.test b/tests/driver_shtc1/app.config.test new file mode 100644 index 0000000000..f44e82bfb1 --- /dev/null +++ b/tests/driver_shtc1/app.config.test @@ -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 diff --git a/tests/driver_si1133/app.config.test b/tests/driver_si1133/app.config.test new file mode 100644 index 0000000000..8f418fb333 --- /dev/null +++ b/tests/driver_si1133/app.config.test @@ -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 diff --git a/tests/driver_si114x/app.config.test b/tests/driver_si114x/app.config.test new file mode 100644 index 0000000000..bfa15577a7 --- /dev/null +++ b/tests/driver_si114x/app.config.test @@ -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 diff --git a/tests/driver_si70xx/app.config.test b/tests/driver_si70xx/app.config.test new file mode 100644 index 0000000000..29fa5bbaab --- /dev/null +++ b/tests/driver_si70xx/app.config.test @@ -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 diff --git a/tests/driver_soft_spi/app.config.test b/tests/driver_soft_spi/app.config.test new file mode 100644 index 0000000000..cfddfa3a31 --- /dev/null +++ b/tests/driver_soft_spi/app.config.test @@ -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 diff --git a/tests/driver_soft_uart/app.config.test b/tests/driver_soft_uart/app.config.test new file mode 100644 index 0000000000..099cef6c0e --- /dev/null +++ b/tests/driver_soft_uart/app.config.test @@ -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 diff --git a/tests/driver_sps30/app.config.test b/tests/driver_sps30/app.config.test new file mode 100644 index 0000000000..12b3994de7 --- /dev/null +++ b/tests/driver_sps30/app.config.test @@ -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 diff --git a/tests/driver_srf02/app.config.test b/tests/driver_srf02/app.config.test new file mode 100644 index 0000000000..7ca55dce4c --- /dev/null +++ b/tests/driver_srf02/app.config.test @@ -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 diff --git a/tests/driver_srf04/app.config.test b/tests/driver_srf04/app.config.test new file mode 100644 index 0000000000..f6863e4849 --- /dev/null +++ b/tests/driver_srf04/app.config.test @@ -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 diff --git a/tests/driver_srf08/app.config.test b/tests/driver_srf08/app.config.test new file mode 100644 index 0000000000..45b92438ab --- /dev/null +++ b/tests/driver_srf08/app.config.test @@ -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 diff --git a/tests/driver_stmpe811/app.config.test b/tests/driver_stmpe811/app.config.test new file mode 100644 index 0000000000..24e2bdcb16 --- /dev/null +++ b/tests/driver_stmpe811/app.config.test @@ -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 diff --git a/tests/driver_sx127x/app.config.test b/tests/driver_sx127x/app.config.test new file mode 100644 index 0000000000..cb42f782db --- /dev/null +++ b/tests/driver_sx127x/app.config.test @@ -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