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/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