From 50946f8b0d7ff544258d9c5ca585da9d59a1d0f5 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 14:26:21 +0100 Subject: [PATCH 01/25] drivers/scd30: add module to Kconfig --- drivers/Kconfig | 1 + drivers/scd30/Kconfig | 14 ++++++++++++++ drivers/scd30/Makefile.dep | 8 +++----- 3 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 drivers/scd30/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 87c5e9ae66..a013205f2e 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -106,6 +106,7 @@ rsource "ph_oem/Kconfig" rsource "pir/Kconfig" rsource "pulse_counter/Kconfig" rsource "qmc5883l/Kconfig" +rsource "scd30/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" 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 From 7d489936cfdad6e4bf21c8226052606e36320a3f Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 17:26:28 +0100 Subject: [PATCH 02/25] drivers/sdp3x: add modules to Kconfig --- drivers/Kconfig | 1 + drivers/sdp3x/Kconfig | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 drivers/sdp3x/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index a013205f2e..80c03b9771 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -107,6 +107,7 @@ rsource "pir/Kconfig" rsource "pulse_counter/Kconfig" rsource "qmc5883l/Kconfig" rsource "scd30/Kconfig" +rsource "sdp3x/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" 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 From 3b4612495487d157470c0632e5c1dd37690be0c6 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 17:41:53 +0100 Subject: [PATCH 03/25] drivers/sds011: add module to Kconfig --- drivers/Kconfig | 1 + drivers/sds011/Kconfig | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 drivers/sds011/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 80c03b9771..7df9d7cd7a 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -108,6 +108,7 @@ rsource "pulse_counter/Kconfig" rsource "qmc5883l/Kconfig" rsource "scd30/Kconfig" rsource "sdp3x/Kconfig" +rsource "sds011/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" 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 From c212fe3512b13777cbaf651c3767b96752554d05 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 17:53:46 +0100 Subject: [PATCH 04/25] drivers/seesaw_soil: add module to Kconfig --- drivers/Kconfig | 1 + drivers/seesaw_soil/Kconfig | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/drivers/Kconfig b/drivers/Kconfig index 7df9d7cd7a..0abe893186 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -109,6 +109,7 @@ rsource "qmc5883l/Kconfig" rsource "scd30/Kconfig" rsource "sdp3x/Kconfig" rsource "sds011/Kconfig" +rsource "seesaw_soil/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" 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 From a97e786e810241ffda730e92a4696f010bf63d21 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 17:56:16 +0100 Subject: [PATCH 05/25] drivers/servo: add module to Kconfig --- drivers/Kconfig | 1 + drivers/servo/Kconfig | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 drivers/servo/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 0abe893186..7ba7d7ae61 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 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 From 95206d034687f9a4482f9f3ef2a0bc7437ed15cc Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 18:22:22 +0100 Subject: [PATCH 06/25] kconfig/saul: select phydat and enable saul_registry by default --- drivers/saul/Kconfig | 2 +- sys/saul_reg/Kconfig | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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/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 From 6ecac5548aa235677f91c55a123dcfd4dc2cfc08 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 18:30:48 +0100 Subject: [PATCH 07/25] drivers/sht1x: add modules to Kconfig --- drivers/Kconfig | 1 + drivers/sht1x/Kconfig | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 drivers/sht1x/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 7ba7d7ae61..8e3f4f565d 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -111,6 +111,7 @@ rsource "scd30/Kconfig" rsource "sdp3x/Kconfig" rsource "sds011/Kconfig" rsource "seesaw_soil/Kconfig" +rsource "sht1x/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" 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 From e6dead79d91530704e183ef16fcb088e3b556fc2 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 18:37:42 +0100 Subject: [PATCH 08/25] drivers/sht2x: add module to Kconfig --- drivers/Kconfig | 1 + drivers/sht2x/Kconfig | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 drivers/sht2x/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 8e3f4f565d..b45b8660dc 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -112,6 +112,7 @@ rsource "sdp3x/Kconfig" rsource "sds011/Kconfig" rsource "seesaw_soil/Kconfig" rsource "sht1x/Kconfig" +rsource "sht2x/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/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 From 8d345260d9328e30676bcfe9e468212a0f71e938 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 18:42:57 +0100 Subject: [PATCH 09/25] drivers/sht3x: add module to Kconfig --- drivers/Kconfig | 1 + drivers/sht3x/Kconfig | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 drivers/sht3x/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index b45b8660dc..4f3ac4296e 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -113,6 +113,7 @@ rsource "sds011/Kconfig" rsource "seesaw_soil/Kconfig" rsource "sht1x/Kconfig" rsource "sht2x/Kconfig" +rsource "sht3x/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" 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 From 1830533428c1ec38082d4908240383306d780e25 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 18:47:17 +0100 Subject: [PATCH 10/25] drivers/shtc1: add module to Kconfig --- drivers/Kconfig | 1 + drivers/shtc1/Kconfig | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 drivers/shtc1/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 4f3ac4296e..b3183c04e2 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -114,6 +114,7 @@ rsource "seesaw_soil/Kconfig" rsource "sht1x/Kconfig" rsource "sht2x/Kconfig" rsource "sht3x/Kconfig" +rsource "shtc1/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" 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 From f1f58018ad4851cfeccf1d43707517b0617d6633 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 18:55:09 +0100 Subject: [PATCH 11/25] drivers/si70xx: add modules to Kconfig --- drivers/Kconfig | 1 + drivers/si70xx/Kconfig | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 drivers/si70xx/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index b3183c04e2..f484aebeef 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -115,6 +115,7 @@ rsource "sht1x/Kconfig" rsource "sht2x/Kconfig" rsource "sht3x/Kconfig" rsource "shtc1/Kconfig" +rsource "si70xx/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/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 From 60f60798d16cfa4e1b56e9233de6f197d27b0aab Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 18:59:00 +0100 Subject: [PATCH 12/25] drivers/si114x: add modules to Kconfig --- drivers/Kconfig | 1 + drivers/si114x/Kconfig | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 drivers/si114x/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index f484aebeef..e0f86098c0 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -116,6 +116,7 @@ rsource "sht2x/Kconfig" rsource "sht3x/Kconfig" rsource "shtc1/Kconfig" rsource "si70xx/Kconfig" +rsource "si114x/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" 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 From 3d480c1d331e233ea10c5ba45ca5837ecf286f17 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 19:07:05 +0100 Subject: [PATCH 13/25] drivers/si1133: add module to Kconfig Also remove auto-dependency from Makefile.dep --- drivers/Kconfig | 1 + drivers/Makefile.dep | 4 ---- drivers/si1133/Kconfig | 13 +++++++++++++ 3 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 drivers/si1133/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index e0f86098c0..fe9a536146 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -117,6 +117,7 @@ rsource "sht3x/Kconfig" rsource "shtc1/Kconfig" rsource "si70xx/Kconfig" rsource "si114x/Kconfig" +rsource "si1133/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" 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/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 From a492400ceec8aa6a8ddc3bfc2c4cd7ebe25dd865 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 19:19:08 +0100 Subject: [PATCH 14/25] drivers/slipdev: add modules to Kconfig --- drivers/slipdev/Kconfig | 9 +++++++++ sys/Kconfig.stdio | 8 ++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) 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/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" From 858187dc256df23c179851906677178d4245adab Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 19:24:57 +0100 Subject: [PATCH 15/25] drivers/soft_spi: add module to Kconfig --- drivers/Kconfig | 1 + drivers/soft_spi/Kconfig | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 drivers/soft_spi/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index fe9a536146..0843f6c9f6 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -48,6 +48,7 @@ rsource "Kconfig.net" menu "Peripherals drivers" rsource "periph_common/Kconfig" rsource "rtt_rtc/Kconfig" +rsource "soft_spi/Kconfig" endmenu # Peripherals drivers menu "Sensor Device Drivers" 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 From d5ca9550e113b694f78759742388d29d423c01ea Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Wed, 6 Jan 2021 10:17:35 +0100 Subject: [PATCH 16/25] drivers/soft_uart: add modules to Kconfig --- drivers/Kconfig | 1 + drivers/soft_uart/Kconfig | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 drivers/soft_uart/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 0843f6c9f6..49fc672b40 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -49,6 +49,7 @@ 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" 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 From c1ee0c437fbec3bb3ae4aa363738efd1b420dffb Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Wed, 6 Jan 2021 10:23:03 +0100 Subject: [PATCH 17/25] drivers/sps30: add module to Kconfig --- drivers/sps30/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) 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 From 8a2854ef9350a487c705056df8188b24a8552506 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Wed, 6 Jan 2021 10:26:48 +0100 Subject: [PATCH 18/25] drivers/srf02: add module to Kconfig --- drivers/Kconfig | 1 + drivers/srf02/Kconfig | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 drivers/srf02/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 49fc672b40..1a20f6c7ff 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -121,6 +121,7 @@ rsource "si70xx/Kconfig" rsource "si114x/Kconfig" rsource "si1133/Kconfig" rsource "sps30/Kconfig" +rsource "srf02/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" rsource "tsl2561/Kconfig" 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 From 526a322842e203346b2c15fcffa9a827aa0ba3e9 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Wed, 6 Jan 2021 10:29:32 +0100 Subject: [PATCH 19/25] drivers/srf04: add module to Kconfig --- drivers/Kconfig | 1 + drivers/srf04/Kconfig | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 drivers/srf04/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 1a20f6c7ff..155862c464 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -122,6 +122,7 @@ rsource "si114x/Kconfig" rsource "si1133/Kconfig" rsource "sps30/Kconfig" rsource "srf02/Kconfig" +rsource "srf04/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" rsource "tsl2561/Kconfig" 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 From b8676e02fa584b9413f79b16b9e8eba63a851266 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Wed, 6 Jan 2021 10:32:26 +0100 Subject: [PATCH 20/25] drivers/srf08: add module to Kconfig --- drivers/Kconfig | 1 + drivers/srf08/Kconfig | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 drivers/srf08/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 155862c464..5484a60d46 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -123,6 +123,7 @@ rsource "si1133/Kconfig" rsource "sps30/Kconfig" rsource "srf02/Kconfig" rsource "srf04/Kconfig" +rsource "srf08/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" rsource "tsl2561/Kconfig" 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 From c8cbc2f20e529e6af58178cb34b8bc903e057467 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Wed, 6 Jan 2021 10:35:07 +0100 Subject: [PATCH 21/25] drivers/stmpe811: add module to Kconfig --- drivers/Kconfig | 1 + drivers/stmpe811/Kconfig | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 drivers/stmpe811/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 5484a60d46..8027e6eef4 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -124,6 +124,7 @@ 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/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 From 0ed66123d9c0bfb33e25bcef111339b6616e2008 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Wed, 6 Jan 2021 11:10:15 +0100 Subject: [PATCH 22/25] sys/iolist: add module to Kconfig --- sys/Kconfig | 2 ++ sys/iolist/Kconfig | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 sys/iolist/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/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 From 52b8bca84e17652c88d1b173bc59dfa69eb31537 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Thu, 7 Jan 2021 13:45:39 +0100 Subject: [PATCH 23/25] net/lora: add module to Kconfig --- sys/net/lora/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) 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 From 88f69e1f173946625184eae94c38149526633e0d Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Thu, 7 Jan 2021 13:54:47 +0100 Subject: [PATCH 24/25] drivers/sx127x: add modules to Kconfig --- drivers/Kconfig.net | 1 + drivers/sx127x/Kconfig | 49 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 drivers/sx127x/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/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 From e5f5d2e303b8b72ec90926423927633aa1501ffd Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Thu, 7 Jan 2021 13:57:50 +0100 Subject: [PATCH 25/25] tests/driver_s*: add Kconfig configuration files --- .murdock | 3 ++- tests/driver_scd30/app.config.test | 4 ++++ tests/driver_sdcard_spi/app.config.test | 5 +++++ tests/driver_sdp3x/app.config.test | 7 +++++++ tests/driver_sds011/app.config.test | 4 ++++ tests/driver_seesaw_soil/app.config.test | 5 +++++ tests/driver_servo/app.config.test | 4 ++++ tests/driver_sht1x/app.config.test | 12 ++++++++++++ tests/driver_sht2x/app.config.test | 4 ++++ tests/driver_sht3x/app.config.test | 3 +++ tests/driver_shtc1/app.config.test | 4 ++++ tests/driver_si1133/app.config.test | 4 ++++ tests/driver_si114x/app.config.test | 5 +++++ tests/driver_si70xx/app.config.test | 5 +++++ tests/driver_soft_spi/app.config.test | 3 +++ tests/driver_soft_uart/app.config.test | 5 +++++ tests/driver_sps30/app.config.test | 4 ++++ tests/driver_srf02/app.config.test | 5 +++++ tests/driver_srf04/app.config.test | 3 +++ tests/driver_srf08/app.config.test | 4 ++++ tests/driver_stmpe811/app.config.test | 3 +++ tests/driver_sx127x/app.config.test | 9 +++++++++ 22 files changed, 104 insertions(+), 1 deletion(-) create mode 100644 tests/driver_scd30/app.config.test create mode 100644 tests/driver_sdcard_spi/app.config.test create mode 100644 tests/driver_sdp3x/app.config.test create mode 100644 tests/driver_sds011/app.config.test create mode 100644 tests/driver_seesaw_soil/app.config.test create mode 100644 tests/driver_servo/app.config.test create mode 100644 tests/driver_sht1x/app.config.test create mode 100644 tests/driver_sht2x/app.config.test create mode 100644 tests/driver_sht3x/app.config.test create mode 100644 tests/driver_shtc1/app.config.test create mode 100644 tests/driver_si1133/app.config.test create mode 100644 tests/driver_si114x/app.config.test create mode 100644 tests/driver_si70xx/app.config.test create mode 100644 tests/driver_soft_spi/app.config.test create mode 100644 tests/driver_soft_uart/app.config.test create mode 100644 tests/driver_sps30/app.config.test create mode 100644 tests/driver_srf02/app.config.test create mode 100644 tests/driver_srf04/app.config.test create mode 100644 tests/driver_srf08/app.config.test create mode 100644 tests/driver_stmpe811/app.config.test create mode 100644 tests/driver_sx127x/app.config.test 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/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