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:
parent
43cc7beb26
commit
9021a0b13a
@ -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 = \
|
||||
|
||||
2
tests/periph_gpio/app.config.test.native
Normal file
2
tests/periph_gpio/app.config.test.native
Normal file
@ -0,0 +1,2 @@
|
||||
# disable native GPIOs for automatic test
|
||||
CONFIG_MODULE_PERIPH_GPIO_MOCK=y
|
||||
Loading…
x
Reference in New Issue
Block a user