From 50383d70826aa02e029a399a21676997684e9e28 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 5 Jan 2021 14:08:18 +0100 Subject: [PATCH] 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