Skip to content

Commit

Permalink
examples/leds_shell: add periph_gpio_mock conditionnly for native64
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztof-cabaj committed Jul 26, 2024
1 parent 86df5a2 commit b2fcc52
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/leds_shell/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,9 @@ ifeq (native, $(BOARD))
USEMODULE += periph_gpio_mock
endif

# Prevents native64 program from segfault when gpio set/clear are used
ifeq (native64, $(BOARD))
USEMODULE += periph_gpio_mock
endif

include $(RIOTBASE)/Makefile.include

0 comments on commit b2fcc52

Please sign in to comment.