1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

tests/periph_gpio: add native-specific configuration file

This commit is contained in:
Leandro Lanzieri 2020-11-10 17:46:01 +01:00
parent 43cc7beb26
commit 9021a0b13a
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5
2 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,10 @@ USEMODULE += benchmark
# 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
BOARDS_BENCH_PORT_1 = \

View File

@ -0,0 +1,2 @@
# disable native GPIOs for automatic test
CONFIG_MODULE_PERIPH_GPIO_MOCK=y