1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/driver_{g,h,i,j}*: add Kconfig configuration files

This also adds these applications to the CI tests. The following drivers
have been modelled:

gp2y10xx
grove_ledbar
hd44780
hdc1000
hih6130
hmc5883l
hts221
ili9341
ina2xx
ina3221
io1_xplained
isl29020
isl29125
itg320x
jc42
my9221
This commit is contained in:
Leandro Lanzieri 2020-11-27 09:17:36 +01:00
parent c74b2ac242
commit 9abf3247c8
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
23 changed files with 102 additions and 1 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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