From 8778e6c53855714b6daa43daa64f1af77bf89fd4 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 4 Jan 2021 11:33:40 +0100 Subject: [PATCH 01/13] drivers/opt3001: add module to Kconfig --- drivers/opt3001/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/opt3001/Kconfig b/drivers/opt3001/Kconfig index aa5622d529..46bc1799be 100644 --- a/drivers/opt3001/Kconfig +++ b/drivers/opt3001/Kconfig @@ -1,9 +1,18 @@ # Copyright (c) 2020 Freie Universitaet Berlin +# 2020 HAW Hamburg # # This file is subject to the terms and conditions of the GNU Lesser # General Public License v2.1. See the file LICENSE in the top level # directory for more details. # + +config MODULE_OPT3001 + bool "OPT3001 Ambient Light Sensor" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C + select MODULE_XTIMER + menuconfig KCONFIG_USEMODULE_OPT3001 bool "Configure OPT3001 driver" depends on USEMODULE_OPT3001 From 354a37b9ae70dc862dc8d83fad3eb222336675d1 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 4 Jan 2021 11:33:58 +0100 Subject: [PATCH 02/13] drivers/pca9633: add module to Kconfig --- drivers/Kconfig | 1 + drivers/pca9633/Kconfig | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 drivers/pca9633/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 6f6f373147..1673e0bd79 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -80,6 +80,7 @@ rsource "lpsxxx/Kconfig" rsource "mag3110/Kconfig" rsource "mma8x5x/Kconfig" rsource "opt3001/Kconfig" +rsource "pca9633/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" diff --git a/drivers/pca9633/Kconfig b/drivers/pca9633/Kconfig new file mode 100644 index 0000000000..f85deec2ee --- /dev/null +++ b/drivers/pca9633/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_PCA9633 + bool "PCA9633 I2C PWM controller" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C From 20f76a368d31089608bac87088b8ef18c2b02126 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 4 Jan 2021 11:41:34 +0100 Subject: [PATCH 03/13] drivers/pca9685: add module to Kconfig --- drivers/Kconfig | 1 + drivers/pca9685/Kconfig | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 drivers/pca9685/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 1673e0bd79..787220c36c 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -81,6 +81,7 @@ rsource "mag3110/Kconfig" rsource "mma8x5x/Kconfig" rsource "opt3001/Kconfig" rsource "pca9633/Kconfig" +rsource "pca9685/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" diff --git a/drivers/pca9685/Kconfig b/drivers/pca9685/Kconfig new file mode 100644 index 0000000000..4eb7bf8c85 --- /dev/null +++ b/drivers/pca9685/Kconfig @@ -0,0 +1,16 @@ +# 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_PCA9685 + bool "PCA9685 I2C PWM controller" + depends on !HAS_CPU_EFM32 # efm32 CPU doesn't support PWM_RIGHT + depends on HAS_PERIPH_GPIO + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_PERIPH_I2C + select MODULE_XTIMER From 0011632ca7aaf950c61cf60fa054184e1e495348 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 4 Jan 2021 11:47:41 +0100 Subject: [PATCH 04/13] drivers/pcd8544: add module to Kconfig --- drivers/Kconfig | 1 + drivers/pcd8544/Kconfig | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 drivers/pcd8544/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 787220c36c..7de54e6729 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -82,6 +82,7 @@ rsource "mma8x5x/Kconfig" rsource "opt3001/Kconfig" rsource "pca9633/Kconfig" rsource "pca9685/Kconfig" +rsource "pcd8544/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" diff --git a/drivers/pcd8544/Kconfig b/drivers/pcd8544/Kconfig new file mode 100644 index 0000000000..a6fee34b3b --- /dev/null +++ b/drivers/pcd8544/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_PCD8544 + bool "PCD8544 LCD driver" + depends on HAS_PERIPH_GPIO + depends on HAS_PERIPH_SPI + depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_PERIPH_SPI + select MODULE_XTIMER From 7322a9d8c9bde4839df94aa6536474c621365a95 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 4 Jan 2021 11:55:04 +0100 Subject: [PATCH 05/13] drivers/ph_oem: add module to Kconfig --- drivers/Kconfig | 1 + drivers/ph_oem/Kconfig | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 drivers/ph_oem/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 7de54e6729..de1a988a2b 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -83,6 +83,7 @@ rsource "opt3001/Kconfig" rsource "pca9633/Kconfig" rsource "pca9685/Kconfig" rsource "pcd8544/Kconfig" +rsource "ph_oem/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" diff --git a/drivers/ph_oem/Kconfig b/drivers/ph_oem/Kconfig new file mode 100644 index 0000000000..db65bc035e --- /dev/null +++ b/drivers/ph_oem/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_PH_OEM + bool "Atlas Scientific pH OEM sensor" + 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 697f61f41a59a144bb1b446ee0e27de4914833b3 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 4 Jan 2021 11:57:58 +0100 Subject: [PATCH 06/13] drivers/pir: add module to Kconfig --- drivers/Kconfig | 1 + drivers/pir/Kconfig | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 drivers/pir/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index de1a988a2b..4e9dfbc5d3 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -84,6 +84,7 @@ rsource "pca9633/Kconfig" rsource "pca9685/Kconfig" rsource "pcd8544/Kconfig" rsource "ph_oem/Kconfig" +rsource "pir/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" diff --git a/drivers/pir/Kconfig b/drivers/pir/Kconfig new file mode 100644 index 0000000000..fa7868fe47 --- /dev/null +++ b/drivers/pir/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_PIR + bool "PIR Motion Sensor" + 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 ded45e8d5f2a54932afd98f977878a11c78c6343 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 4 Jan 2021 17:22:09 +0100 Subject: [PATCH 07/13] drivers/pulse_counter: add module to Kconfig --- drivers/Kconfig | 1 + drivers/pulse_counter/Kconfig | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 drivers/pulse_counter/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 4e9dfbc5d3..a168980c85 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -85,6 +85,7 @@ rsource "pca9685/Kconfig" rsource "pcd8544/Kconfig" rsource "ph_oem/Kconfig" rsource "pir/Kconfig" +rsource "pulse_counter/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" diff --git a/drivers/pulse_counter/Kconfig b/drivers/pulse_counter/Kconfig new file mode 100644 index 0000000000..6221b4e017 --- /dev/null +++ b/drivers/pulse_counter/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_PULSE_COUNTER + bool "Pulse counter" + 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 26e2e7548f5c6c7e75fc56fe518fbff025ad6e4a Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 4 Jan 2021 17:29:52 +0100 Subject: [PATCH 08/13] drivers/qmc5883l: add module to Kconfig --- drivers/Kconfig | 1 + drivers/qmc5883l/Kconfig | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 drivers/qmc5883l/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index a168980c85..7e7fbe4026 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -86,6 +86,7 @@ rsource "pcd8544/Kconfig" rsource "ph_oem/Kconfig" rsource "pir/Kconfig" rsource "pulse_counter/Kconfig" +rsource "qmc5883l/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" diff --git a/drivers/qmc5883l/Kconfig b/drivers/qmc5883l/Kconfig new file mode 100644 index 0000000000..b37c7a7d17 --- /dev/null +++ b/drivers/qmc5883l/Kconfig @@ -0,0 +1,20 @@ +# 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_QMC5883L + bool "QMC5883L 3-Axis Digital Magnetic sensor" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C + +config MODULE_QMC5883L_INT + bool "Interrupt support" + depends on HAS_PERIPH_GPIO + depends on HAS_PERIPH_GPIO_IRQ + depends on MODULE_QMC5883L + select MODULE_PERIPH_GPIO + select MODULE_PERIPH_GPIO_IRQ From bc1593d726ed42b90f07ed3bac027d7a11366f8a Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 11:02:43 +0100 Subject: [PATCH 09/13] drivers/pn532: add modules to Kconfig --- drivers/pn532/Kconfig | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/drivers/pn532/Kconfig b/drivers/pn532/Kconfig index f79537188c..ab53f61eb5 100644 --- a/drivers/pn532/Kconfig +++ b/drivers/pn532/Kconfig @@ -1,9 +1,36 @@ # 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. # + +if TEST_KCONFIG && HAS_PERIPH_GPIO && HAS_PERIPH_GPIO_IRQ + +menu "PN532 NFC reader" + +config MODULE_PN532_I2C + bool "PN532 with I2C support" + depends on HAS_PERIPH_I2C + select MODULE_PERIPH_I2C + select MODULE_PN532 + +config MODULE_PN532_SPI + bool "PN532 with SPI support" + depends on HAS_PERIPH_SPI + select MODULE_PERIPH_SPI + select MODULE_PN532 + +config MODULE_PN532 + bool + select MODULE_PERIPH_GPIO + select MODULE_PERIPH_GPIO_IRQ + +endmenu # PN532 NFC reader + +endif # TEST_KCONFIG && HAS_PERIPH_GPIO && HAS_PERIPH_GPIO_IRQ + menuconfig KCONFIG_USEMODULE_PN532 bool "Configure PN532 driver" depends on USEMODULE_PN532 From 073672815a68a45119ff96f0a129be45c4f09b64 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 11:49:18 +0100 Subject: [PATCH 10/13] drivers/rgbled: add module to Kconfig --- drivers/Kconfig | 1 + drivers/rgbled/Kconfig | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 drivers/rgbled/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 7e7fbe4026..53e5672701 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -17,6 +17,7 @@ rsource "feetech/Kconfig" rsource "grove_ledbar/Kconfig" rsource "motor_driver/Kconfig" rsource "my9221/Kconfig" +rsource "rgbled/Kconfig" endmenu # Actuator Device Drivers menu "Display Device Drivers" diff --git a/drivers/rgbled/Kconfig b/drivers/rgbled/Kconfig new file mode 100644 index 0000000000..f17674dac7 --- /dev/null +++ b/drivers/rgbled/Kconfig @@ -0,0 +1,11 @@ +# 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_RGBLED + bool "RGB-LED driver" + depends on TEST_KCONFIG + select MODULE_COLOR From 7f8ae85d360d478e411e4358b63afdbe70d89590 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 13:52:25 +0100 Subject: [PATCH 11/13] drivers/rn2xx3: add modules to Kconfig --- drivers/rn2xx3/Kconfig | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/drivers/rn2xx3/Kconfig b/drivers/rn2xx3/Kconfig index 8808e592df..a3abb11def 100644 --- a/drivers/rn2xx3/Kconfig +++ b/drivers/rn2xx3/Kconfig @@ -4,6 +4,36 @@ # General Public License v2.1. See the file LICENSE in the top level # directory for more details. # + +if TEST_KCONFIG + +choice + bool "RN2XX3 LoRa module" + optional + depends on HAS_PERIPH_GPIO + depends on HAS_PERIPH_UART + +config MODULE_RN2483 + bool "RN2483" + select MODULE_RN2XX3 + +config MODULE_RN2903 + bool "RN2903" + select MODULE_RN2XX3 + +endchoice + +config MODULE_RN2XX3 + bool + depends on HAS_PERIPH_GPIO + depends on HAS_PERIPH_UART + select MODULE_PERIPH_GPIO + select MODULE_PERIPH_UART + select MODULE_FMT + select MODULE_XTIMER + +endif # TEST_KCONFIG + menuconfig KCONFIG_USEMODULE_RN2XX3 bool "Configure RN2XX3 driver" depends on USEMODULE_RN2XX3 From 4ccf5df6d32e7e01dfeafd7979313006793c6d1b Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 14:06:03 +0100 Subject: [PATCH 12/13] drivers/rtt_rtc: add module to Kconfig --- drivers/Kconfig | 1 + drivers/rtt_rtc/Kconfig | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 drivers/rtt_rtc/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 53e5672701..edba6fd645 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -42,6 +42,7 @@ rsource "Kconfig.net" menu "Peripherals drivers" rsource "periph_common/Kconfig" +rsource "rtt_rtc/Kconfig" endmenu # Peripherals drivers menu "Sensor Device Drivers" diff --git a/drivers/rtt_rtc/Kconfig b/drivers/rtt_rtc/Kconfig new file mode 100644 index 0000000000..0b4361bd79 --- /dev/null +++ b/drivers/rtt_rtc/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_RTT_RTC + bool "RTC-based RTT" + depends on HAS_PERIPH_RTT + depends on TEST_KCONFIG + select MODULE_PERIPH_RTT + select HAS_PERIPH_RTC # provides RTC + help + Basic RTC implementation based on a RTT. From 50383d70826aa02e029a399a21676997684e9e28 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 14:08:18 +0100 Subject: [PATCH 13/13] tests: add Kconfig configuration files for multiple driver tests Configurations have been added for: - opt3001 - pca9633 - pca9685 - pcd8544 - ph_oem - pir - pn532 - pulse_counter - qmc5883l - rn2xx3 --- .murdock | 3 ++- tests/driver_opt3001/app.config.test | 4 ++++ tests/driver_pca9633/app.config.test | 5 +++++ tests/driver_pca9685/app.config.test | 4 ++++ tests/driver_pcd8544/app.config.test | 4 ++++ tests/driver_ph_oem/app.config.test | 5 +++++ tests/driver_pir/app.config.test | 3 +++ tests/driver_pn532/app.config.test | 8 ++++++++ tests/driver_pulse_counter/app.config.test | 3 +++ tests/driver_qmc5883l/app.config.test | 9 +++++++++ tests/driver_rn2xx3/app.config.test | 5 +++++ 11 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 tests/driver_opt3001/app.config.test create mode 100644 tests/driver_pca9633/app.config.test create mode 100644 tests/driver_pca9685/app.config.test create mode 100644 tests/driver_pcd8544/app.config.test create mode 100644 tests/driver_ph_oem/app.config.test create mode 100644 tests/driver_pir/app.config.test create mode 100644 tests/driver_pn532/app.config.test create mode 100644 tests/driver_pulse_counter/app.config.test create mode 100644 tests/driver_qmc5883l/app.config.test create mode 100644 tests/driver_rn2xx3/app.config.test diff --git a/.murdock b/.murdock index 2c74e6c4d1..3f55f40018 100755 --- a/.murdock +++ b/.murdock @@ -16,7 +16,8 @@ tests/driver_b* tests/driver_ccs811 tests/driver_ccs811_full tests/driver_dcf77 tests/driver_dfplayer tests/driver_dht tests/driver_ds18 tests/driver_ds75lx tests/driver_ds1307 tests/driver_ds3231 tests/driver_ds3234 tests/driver_dsp0401 tests/driver_dynamixel tests/driver_edbg_eui tests/driver_f* tests/driver_g* -tests/driver_h* tests/driver_i* tests/driver_j* tests/driver_my9221"} +tests/driver_h* tests/driver_i* tests/driver_j* tests/driver_my9221 +tests/driver_o* tests/driver_p* tests/driver_q* tests/driver_r*"} : ${TEST_KCONFIG_native:="examples/hello-world tests/periph_*"} export RIOT_CI_BUILD=1 diff --git a/tests/driver_opt3001/app.config.test b/tests/driver_opt3001/app.config.test new file mode 100644 index 0000000000..05faf23e80 --- /dev/null +++ b/tests/driver_opt3001/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_OPT3001=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_pca9633/app.config.test b/tests/driver_pca9633/app.config.test new file mode 100644 index 0000000000..101bcc6781 --- /dev/null +++ b/tests/driver_pca9633/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_PCA9633=y +CONFIG_MODULE_XTIMER=y +CONFIG_MODULE_SHELL=y diff --git a/tests/driver_pca9685/app.config.test b/tests/driver_pca9685/app.config.test new file mode 100644 index 0000000000..ff7b1ad322 --- /dev/null +++ b/tests/driver_pca9685/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_PCA9685=y +CONFIG_MODULE_SHELL=y diff --git a/tests/driver_pcd8544/app.config.test b/tests/driver_pcd8544/app.config.test new file mode 100644 index 0000000000..c2cca734d3 --- /dev/null +++ b/tests/driver_pcd8544/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_PCD8544=y +CONFIG_MODULE_SHELL=y diff --git a/tests/driver_ph_oem/app.config.test b/tests/driver_ph_oem/app.config.test new file mode 100644 index 0000000000..0df7dd29c7 --- /dev/null +++ b/tests/driver_ph_oem/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_PH_OEM=y +CONFIG_MODULE_EVENT=y +CONFIG_MODULE_EVENT_CALLBACK=y diff --git a/tests/driver_pir/app.config.test b/tests/driver_pir/app.config.test new file mode 100644 index 0000000000..448a89e64c --- /dev/null +++ b/tests/driver_pir/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_PIR=y diff --git a/tests/driver_pn532/app.config.test b/tests/driver_pn532/app.config.test new file mode 100644 index 0000000000..b31e14958f --- /dev/null +++ b/tests/driver_pn532/app.config.test @@ -0,0 +1,8 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. + +# select if you want to build the SPI or the I2C version of the driver +CONFIG_MODULE_PN532_I2C=y +# CONFIG_MODULE_PN532_SPI=y + +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_pulse_counter/app.config.test b/tests/driver_pulse_counter/app.config.test new file mode 100644 index 0000000000..7d11aed684 --- /dev/null +++ b/tests/driver_pulse_counter/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_PULSE_COUNTER=y diff --git a/tests/driver_qmc5883l/app.config.test b/tests/driver_qmc5883l/app.config.test new file mode 100644 index 0000000000..83409f91a5 --- /dev/null +++ b/tests/driver_qmc5883l/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_QMC5883L=y +# enable gpio interrupt support +CONFIG_MODULE_QMC5883L_INT=y + +CONFIG_MODULE_CORE_THREAD_FLAGS=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_rn2xx3/app.config.test b/tests/driver_rn2xx3/app.config.test new file mode 100644 index 0000000000..6b73a740ca --- /dev/null +++ b/tests/driver_rn2xx3/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_RN2483=y +CONFIG_MODULE_SHELL=y +CONFIG_MODULE_SHELL_COMMANDS=y