From e5f5d2e303b8b72ec90926423927633aa1501ffd Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Thu, 7 Jan 2021 13:57:50 +0100 Subject: [PATCH] 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