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

examples/leds_shell: fix segfault

This commit is contained in:
krzysztof-cabaj 2024-07-24 10:45:59 +02:00
parent 4612cc2348
commit ca9835fc53

View File

@ -19,4 +19,10 @@ QUIET ?= 1
USEMODULE += shell
USEMODULE += periph_gpio
# Prevents native and native64 program from segfault when gpio set/clear are
# used without a gpiochip
ifneq (,$(filter native native64,$(BOARD)))
USEMODULE += periph_gpio_mock
endif
include $(RIOTBASE)/Makefile.include