diff --git a/.murdock b/.murdock index 9d5fa81e9c..b922784e1e 100755 --- a/.murdock +++ b/.murdock @@ -7,7 +7,9 @@ tests/driver_ad7746 tests/driver_adcxx1c tests/driver_ads101x tests/driver_adt10 tests/driver_adt7310 tests/driver_adxl345 tests/driver_aip31068 tests/driver_apa102 tests/driver_apds99xx tests/driver_apds99xx_full tests/driver_at tests/driver_at24cxxx tests/driver_at24mac tests/driver_at25xxx tests/driver_at30tse75x tests/driver_ata8520e -tests/driver_b* tests/driver_ccs811 tests/driver_ccs811_full"} +tests/driver_b* tests/driver_ccs811 tests/driver_ccs811_full +tests/driver_g* tests/driver_h* tests/driver_i* tests/driver_j* +tests/driver_my9221"} : ${TEST_KCONFIG_native:="examples/hello-world tests/periph_*"} export RIOT_CI_BUILD=1 diff --git a/drivers/Kconfig b/drivers/Kconfig index d9beff0f81..894954cf03 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -11,12 +11,17 @@ rsource "saul/Kconfig" menu "Actuator Device Drivers" rsource "aip31068/Kconfig" rsource "apa102/Kconfig" +rsource "grove_ledbar/Kconfig" rsource "motor_driver/Kconfig" +rsource "my9221/Kconfig" endmenu # Actuator Device Drivers menu "Miscellaneous Device Drivers" rsource "at/Kconfig" rsource "at24mac/Kconfig" +rsource "hd44780/Kconfig" +rsource "ili9341/Kconfig" +rsource "io1_xplained/Kconfig" endmenu # Miscellaneous Device Drivers rsource "Kconfig.net" @@ -43,7 +48,15 @@ rsource "ccs811/Kconfig" rsource "fxos8700/Kconfig" rsource "gp2y10xx/Kconfig" rsource "hdc1000/Kconfig" +rsource "hih6130/Kconfig" +rsource "hmc5883l/Kconfig" +rsource "hts221/Kconfig" +rsource "ina2xx/Kconfig" +rsource "ina3221/Kconfig" rsource "isl29020/Kconfig" +rsource "isl29125/Kconfig" +rsource "itg320x/Kconfig" +rsource "jc42/Kconfig" rsource "l3g4200d/Kconfig" rsource "lpsxxx/Kconfig" rsource "mag3110/Kconfig" @@ -59,6 +72,7 @@ rsource "at24cxxx/Kconfig" rsource "at25xxx/Kconfig" rsource "mtd/Kconfig" rsource "mtd_sdcard/Kconfig" +rsource "sdcard_spi/Kconfig" endmenu # Storage Device Drivers endmenu # Drivers diff --git a/drivers/gp2y10xx/Kconfig b/drivers/gp2y10xx/Kconfig index e54eb805cf..8e63163e27 100644 --- a/drivers/gp2y10xx/Kconfig +++ b/drivers/gp2y10xx/Kconfig @@ -5,6 +5,15 @@ # directory for more details. # +config MODULE_GP2Y10XX + bool "GP2Y10xx Optical Dust Sensor device driver" + depends on HAS_PERIPH_GPIO + depends on HAS_PERIPH_ADC + depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_PERIPH_ADC + select MODULE_XTIMER + menuconfig KCONFIG_USEMODULE_GP2Y10XX bool "Configure GP2Y10xx driver" depends on USEMODULE_GP2Y10XX diff --git a/drivers/grove_ledbar/Kconfig b/drivers/grove_ledbar/Kconfig new file mode 100644 index 0000000000..b64facab67 --- /dev/null +++ b/drivers/grove_ledbar/Kconfig @@ -0,0 +1,11 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_GROVE_LEDBAR + bool "Grove ledbar" + depends on MODULE_MY9221 + depends on TEST_KCONFIG diff --git a/drivers/hd44780/Kconfig b/drivers/hd44780/Kconfig new file mode 100644 index 0000000000..4873610e97 --- /dev/null +++ b/drivers/hd44780/Kconfig @@ -0,0 +1,15 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_HD44780 + bool "HD44780 LCD" + depends on HAS_PERIPH_GPIO + depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_XTIMER + help + The display is also known as LCM1602C from Arduino kits. diff --git a/drivers/hdc1000/Kconfig b/drivers/hdc1000/Kconfig index a55a254ff6..236cabd086 100644 --- a/drivers/hdc1000/Kconfig +++ b/drivers/hdc1000/Kconfig @@ -4,6 +4,14 @@ # General Public License v2.1. See the file LICENSE in the top level # directory for more details. # + +config MODULE_HDC1000 + bool "HDC1000 Humidity and Temperature Sensor" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C + select MODULE_XTIMER + menuconfig KCONFIG_USEMODULE_HDC1000 bool "Configure HDC1000 driver" depends on USEMODULE_HDC1000 diff --git a/drivers/hih6130/Kconfig b/drivers/hih6130/Kconfig new file mode 100644 index 0000000000..989bbb4599 --- /dev/null +++ b/drivers/hih6130/Kconfig @@ -0,0 +1,16 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_HIH6130 + bool "HIH6130 humidity and temperature sensor" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C + select MODULE_XTIMER + help + Device driver for Honeywell HumidIcon Digital Humidity/Temperature + Sensors: HIH-6130/6131 Series. diff --git a/drivers/hmc5883l/Kconfig b/drivers/hmc5883l/Kconfig new file mode 100644 index 0000000000..e21791afe6 --- /dev/null +++ b/drivers/hmc5883l/Kconfig @@ -0,0 +1,22 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +menuconfig MODULE_HMC5883L + bool "HMC5883L 3-axis digital compass" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C + +config MODULE_HMC5883L_INT + bool "Data-ready interrupt" + depends on MODULE_HMC5883L + depends on HAS_PERIPH_GPIO + depends on HAS_PERIPH_GPIO_IRQ + select MODULE_PERIPH_GPIO + select MODULE_PERIPH_GPIO_IRQ + help + Allows to configure an interrupt pin to get an event on data ready. diff --git a/drivers/hts221/Kconfig b/drivers/hts221/Kconfig new file mode 100644 index 0000000000..ee797b3e45 --- /dev/null +++ b/drivers/hts221/Kconfig @@ -0,0 +1,12 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_HTS221 + bool "ST HTS221 digital Humidity Sensor" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C diff --git a/drivers/ili9341/Kconfig b/drivers/ili9341/Kconfig new file mode 100644 index 0000000000..f63d082f74 --- /dev/null +++ b/drivers/ili9341/Kconfig @@ -0,0 +1,15 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_ILI9341 + bool "ILI9341 display driver" + depends on HAS_PERIPH_SPI + depends on HAS_PERIPH_GPIO + depends on TEST_KCONFIG + select MODULE_PERIPH_SPI + select MODULE_PERIPH_GPIO + select MODULE_XTIMER diff --git a/drivers/ina2xx/Kconfig b/drivers/ina2xx/Kconfig new file mode 100644 index 0000000000..1b57d81ee2 --- /dev/null +++ b/drivers/ina2xx/Kconfig @@ -0,0 +1,29 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +choice + bool "INA2XX current/power monitor" + optional + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + help + Select one of the supported models. + +config MODULE_INA219 + bool "INA219" + select MODULE_INA2XX + +config MODULE_INA220 + bool "INA220" + select MODULE_INA2XX + +endchoice + +config MODULE_INA2XX + bool + depends on HAS_PERIPH_I2C + select MODULE_PERIPH_I2C diff --git a/drivers/ina3221/Kconfig b/drivers/ina3221/Kconfig new file mode 100644 index 0000000000..273da6170a --- /dev/null +++ b/drivers/ina3221/Kconfig @@ -0,0 +1,22 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +menuconfig MODULE_INA3221 + bool "INA3221 current/power monitor" + depends on HAS_PERIPH_GPIO + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_PERIPH_I2C + +config MODULE_INA3221_ALERTS + bool "Altert pins" + depends on HAS_PERIPH_GPIO_IRQ + depends on MODULE_INA3221 + select MODULE_PERIPH_GPIO_IRQ + help + Say y to enable the usage of alert pins. diff --git a/drivers/io1_xplained/Kconfig b/drivers/io1_xplained/Kconfig new file mode 100644 index 0000000000..3e887949a8 --- /dev/null +++ b/drivers/io1_xplained/Kconfig @@ -0,0 +1,16 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_IO1_XPLAINED + bool "Atmel IO1 Xplained Extension board" + depends on HAS_PERIPH_GPIO + depends on HAS_PERIPH_ADC + depends on MODULE_AT30TSE75X + depends on MODULE_SDCARD_SPI + depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_PERIPH_ADC diff --git a/drivers/isl29020/Kconfig b/drivers/isl29020/Kconfig index 48e3624549..5d7043e7e0 100644 --- a/drivers/isl29020/Kconfig +++ b/drivers/isl29020/Kconfig @@ -1,9 +1,17 @@ # 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_ISL29020 + bool "ISL29020 light sensor" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C + menuconfig KCONFIG_USEMODULE_ISL29020 bool "Configure ISL29020 driver" depends on USEMODULE_ISL29020 diff --git a/drivers/isl29125/Kconfig b/drivers/isl29125/Kconfig new file mode 100644 index 0000000000..bd9e787b8e --- /dev/null +++ b/drivers/isl29125/Kconfig @@ -0,0 +1,16 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_ISL29125 + bool "ISL29125 RGB light 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 diff --git a/drivers/itg320x/Kconfig b/drivers/itg320x/Kconfig new file mode 100644 index 0000000000..492449b979 --- /dev/null +++ b/drivers/itg320x/Kconfig @@ -0,0 +1,22 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +menuconfig MODULE_ITG320X + bool "ITG320X 3-axis gyroscope" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C + select MODULE_XTIMER + help + The driver can be used with InvenSense ITG3200, ITG3205, and MPU3050. + +config MODULE_ITG320X_INT + bool "Interrupt mode" + depends on HAS_PERIPH_GPIO_IRQ + select MODULE_PERIPH_GPIO_IRQ + help + Say y to fetch the data when the data-ready interrupt is triggered. diff --git a/drivers/jc42/Kconfig b/drivers/jc42/Kconfig new file mode 100644 index 0000000000..b2ad9a07f4 --- /dev/null +++ b/drivers/jc42/Kconfig @@ -0,0 +1,12 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_JC42 + bool "JC42 compliant temperature sensor" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C diff --git a/drivers/my9221/Kconfig b/drivers/my9221/Kconfig new file mode 100644 index 0000000000..e17f1f71bd --- /dev/null +++ b/drivers/my9221/Kconfig @@ -0,0 +1,13 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_MY9221 + bool "MY9221 LED controller" + depends on HAS_PERIPH_GPIO + depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_XTIMER diff --git a/drivers/sdcard_spi/Kconfig b/drivers/sdcard_spi/Kconfig new file mode 100644 index 0000000000..9eb5e0134f --- /dev/null +++ b/drivers/sdcard_spi/Kconfig @@ -0,0 +1,17 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_SDCARD_SPI + bool "SPI SD-Card" + depends on HAS_PERIPH_GPIO + depends on HAS_PERIPH_SPI + depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_PERIPH_SPI + select MODULE_PERIPH_SPI_RECONFIGURE if HAS_PERIPH_SPI_RECONFIGURE + select MODULE_XTIMER + select MODULE_CHECKSUM diff --git a/sys/Kconfig b/sys/Kconfig index c13626c66b..b0d9a6037c 100644 --- a/sys/Kconfig +++ b/sys/Kconfig @@ -9,6 +9,7 @@ menu "System" rsource "arduino/Kconfig" rsource "auto_init/Kconfig" rsource "benchmark/Kconfig" +rsource "checksum/Kconfig" rsource "color/Kconfig" rsource "div/Kconfig" rsource "embunit/Kconfig" diff --git a/sys/checksum/Kconfig b/sys/checksum/Kconfig new file mode 100644 index 0000000000..8350b7e77e --- /dev/null +++ b/sys/checksum/Kconfig @@ -0,0 +1,10 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_CHECKSUM + bool "Checksum algorithms" + depends on TEST_KCONFIG diff --git a/tests/driver_gp2y10xx/app.config.test b/tests/driver_gp2y10xx/app.config.test new file mode 100644 index 0000000000..99a74023a9 --- /dev/null +++ b/tests/driver_gp2y10xx/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_GP2Y10XX=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_grove_ledbar/Makefile b/tests/driver_grove_ledbar/Makefile index 6423a44c1c..69069dba02 100644 --- a/tests/driver_grove_ledbar/Makefile +++ b/tests/driver_grove_ledbar/Makefile @@ -5,6 +5,10 @@ USEMODULE += grove_ledbar # disable native GPIOs for automatic test ifeq (native,$(BOARD)) USEMODULE += periph_gpio_mock + # the same for Kconfig + ifeq (1,$(TEST_KCONFIG)) + KCONFIG_ADD_CONFIG += $(APPDIR)/app.config.test.native + endif endif # set default device parameters in case they are undefined diff --git a/tests/driver_grove_ledbar/app.config.test b/tests/driver_grove_ledbar/app.config.test new file mode 100644 index 0000000000..ce17a4ad9d --- /dev/null +++ b/tests/driver_grove_ledbar/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. + +# LED driver needed for the LED bar driver +CONFIG_MODULE_MY9221=y + +CONFIG_MODULE_GROVE_LEDBAR=y +CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y diff --git a/tests/driver_grove_ledbar/app.config.test.native b/tests/driver_grove_ledbar/app.config.test.native new file mode 100644 index 0000000000..eeb3167676 --- /dev/null +++ b/tests/driver_grove_ledbar/app.config.test.native @@ -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. + +# disable native GPIOs for automatic test +CONFIG_MODULE_PERIPH_GPIO_MOCK=y diff --git a/tests/driver_hd44780/Makefile b/tests/driver_hd44780/Makefile index 2bab51963a..669e5be139 100644 --- a/tests/driver_hd44780/Makefile +++ b/tests/driver_hd44780/Makefile @@ -5,6 +5,10 @@ USEMODULE += hd44780 # disable native GPIOs for automatic test ifeq (native,$(BOARD)) USEMODULE += periph_gpio_mock + # the same for Kconfig + ifeq (1,$(TEST_KCONFIG)) + KCONFIG_ADD_CONFIG += $(APPDIR)/app.config.test.native + endif endif # Fails on esp32 because the driver defines default GPIOs that are used for the diff --git a/tests/driver_hd44780/app.config.test b/tests/driver_hd44780/app.config.test new file mode 100644 index 0000000000..ea1bdbbe8e --- /dev/null +++ b/tests/driver_hd44780/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_HD44780=y +CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y diff --git a/tests/driver_hd44780/app.config.test.native b/tests/driver_hd44780/app.config.test.native new file mode 100644 index 0000000000..eeb3167676 --- /dev/null +++ b/tests/driver_hd44780/app.config.test.native @@ -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. + +# disable native GPIOs for automatic test +CONFIG_MODULE_PERIPH_GPIO_MOCK=y diff --git a/tests/driver_hdc1000/app.config.test b/tests/driver_hdc1000/app.config.test new file mode 100644 index 0000000000..fbd50570cd --- /dev/null +++ b/tests/driver_hdc1000/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_HDC1000=y +CONFIG_MODULE_XTIMER=y +CONFIG_MODULE_FMT=y diff --git a/tests/driver_hih6130/app.config.test b/tests/driver_hih6130/app.config.test new file mode 100644 index 0000000000..0d71180dd3 --- /dev/null +++ b/tests/driver_hih6130/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_HIH6130=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_hmc5883l/app.config.test b/tests/driver_hmc5883l/app.config.test new file mode 100644 index 0000000000..5fa12d3da2 --- /dev/null +++ b/tests/driver_hmc5883l/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_HMC5883L=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_hts221/app.config.test b/tests/driver_hts221/app.config.test new file mode 100644 index 0000000000..ba8393a35f --- /dev/null +++ b/tests/driver_hts221/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_HTS221=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_ili9341/app.config.test b/tests/driver_ili9341/app.config.test new file mode 100644 index 0000000000..45e4ae0bb2 --- /dev/null +++ b/tests/driver_ili9341/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_ILI9341=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_ina2xx/app.config.test b/tests/driver_ina2xx/app.config.test new file mode 100644 index 0000000000..7f713483a4 --- /dev/null +++ b/tests/driver_ina2xx/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_FMT=y +CONFIG_MODULE_FMT_TABLE=y +CONFIG_MODULE_INA219=y diff --git a/tests/driver_ina3221/app.config.test b/tests/driver_ina3221/app.config.test new file mode 100644 index 0000000000..028df0831e --- /dev/null +++ b/tests/driver_ina3221/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_INA3221=y +CONFIG_MODULE_FMT=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_io1_xplained/app.config.test b/tests/driver_io1_xplained/app.config.test new file mode 100644 index 0000000000..e4b6c2be24 --- /dev/null +++ b/tests/driver_io1_xplained/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_IO1_XPLAINED=y +CONFIG_MODULE_AT30TSE75X=y +CONFIG_MODULE_SDCARD_SPI=y diff --git a/tests/driver_isl29020/app.config.test b/tests/driver_isl29020/app.config.test new file mode 100644 index 0000000000..d33abfa4cc --- /dev/null +++ b/tests/driver_isl29020/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_ISL29020=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_isl29125/app.config.test b/tests/driver_isl29125/app.config.test new file mode 100644 index 0000000000..9f93851096 --- /dev/null +++ b/tests/driver_isl29125/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_ISL29125=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_itg320x/app.config.test b/tests/driver_itg320x/app.config.test new file mode 100644 index 0000000000..7bd27503a4 --- /dev/null +++ b/tests/driver_itg320x/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_ITG320X=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_jc42/app.config.test b/tests/driver_jc42/app.config.test new file mode 100644 index 0000000000..69c3b1f4b6 --- /dev/null +++ b/tests/driver_jc42/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_JC42=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_my9221/Makefile b/tests/driver_my9221/Makefile index 4153ba0f95..1bb0f5b741 100644 --- a/tests/driver_my9221/Makefile +++ b/tests/driver_my9221/Makefile @@ -5,6 +5,10 @@ USEMODULE += my9221 # disable native GPIOs for automatic test ifeq (native,$(BOARD)) USEMODULE += periph_gpio_mock + # the same for Kconfig + ifeq (1,$(TEST_KCONFIG)) + KCONFIG_ADD_CONFIG += $(APPDIR)/app.config.test.native + endif endif # set default device parameters in case they are undefined diff --git a/tests/driver_my9221/app.config.test b/tests/driver_my9221/app.config.test new file mode 100644 index 0000000000..9840183cdb --- /dev/null +++ b/tests/driver_my9221/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_MY9221=y +CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y diff --git a/tests/driver_my9221/app.config.test.native b/tests/driver_my9221/app.config.test.native new file mode 100644 index 0000000000..eeb3167676 --- /dev/null +++ b/tests/driver_my9221/app.config.test.native @@ -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. + +# disable native GPIOs for automatic test +CONFIG_MODULE_PERIPH_GPIO_MOCK=y