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:
parent
c74b2ac242
commit
9abf3247c8
4
.murdock
4
.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
|
||||
|
4
tests/driver_gp2y10xx/app.config.test
Normal file
4
tests/driver_gp2y10xx/app.config.test
Normal 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
|
@ -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
|
||||
|
8
tests/driver_grove_ledbar/app.config.test
Normal file
8
tests/driver_grove_ledbar/app.config.test
Normal 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
|
5
tests/driver_grove_ledbar/app.config.test.native
Normal file
5
tests/driver_grove_ledbar/app.config.test.native
Normal 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
|
@ -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
|
||||
|
4
tests/driver_hd44780/app.config.test
Normal file
4
tests/driver_hd44780/app.config.test
Normal 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
|
5
tests/driver_hd44780/app.config.test.native
Normal file
5
tests/driver_hd44780/app.config.test.native
Normal 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
|
5
tests/driver_hdc1000/app.config.test
Normal file
5
tests/driver_hdc1000/app.config.test
Normal 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
|
4
tests/driver_hih6130/app.config.test
Normal file
4
tests/driver_hih6130/app.config.test
Normal 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
|
4
tests/driver_hmc5883l/app.config.test
Normal file
4
tests/driver_hmc5883l/app.config.test
Normal 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
|
4
tests/driver_hts221/app.config.test
Normal file
4
tests/driver_hts221/app.config.test
Normal 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
|
4
tests/driver_ili9341/app.config.test
Normal file
4
tests/driver_ili9341/app.config.test
Normal 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
|
5
tests/driver_ina2xx/app.config.test
Normal file
5
tests/driver_ina2xx/app.config.test
Normal 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
|
5
tests/driver_ina3221/app.config.test
Normal file
5
tests/driver_ina3221/app.config.test
Normal 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
|
5
tests/driver_io1_xplained/app.config.test
Normal file
5
tests/driver_io1_xplained/app.config.test
Normal 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
|
4
tests/driver_isl29020/app.config.test
Normal file
4
tests/driver_isl29020/app.config.test
Normal 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
|
4
tests/driver_isl29125/app.config.test
Normal file
4
tests/driver_isl29125/app.config.test
Normal 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
|
4
tests/driver_itg320x/app.config.test
Normal file
4
tests/driver_itg320x/app.config.test
Normal 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
|
4
tests/driver_jc42/app.config.test
Normal file
4
tests/driver_jc42/app.config.test
Normal 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
|
@ -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
|
||||
|
4
tests/driver_my9221/app.config.test
Normal file
4
tests/driver_my9221/app.config.test
Normal 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
|
5
tests/driver_my9221/app.config.test.native
Normal file
5
tests/driver_my9221/app.config.test.native
Normal 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
|
Loading…
Reference in New Issue
Block a user