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

Merge pull request #15430 from benpicco/boards/native-zep

boards/native: allow to use ZEP instead of tap
This commit is contained in:
Martine Lenders 2020-12-01 12:16:41 +01:00 committed by GitHub
commit df676dc078
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,7 @@
ifneq (,$(filter netdev_default,$(USEMODULE)))
USEMODULE += netdev_tap
ifeq (,$(filter socket_zep,$(USEMODULE)))
USEMODULE += netdev_tap
endif
endif
ifneq (,$(filter mtd,$(USEMODULE)))

View File

@ -69,7 +69,7 @@ endif
LINKFLAGS += -ffunction-sections
# set the tap interface for term/valgrind
ifneq (,$(filter netdev_default,$(USEMODULE)))
ifneq (,$(filter netdev_tap,$(USEMODULE)))
PORT ?= tap0
endif

View File

@ -13,6 +13,7 @@ ifeq (,$(filter native,$(BOARD)))
endif
endif
else
USEMODULE += netdev_tap
USEMODULE += socket_zep
USEMODULE += socket_zep_hello
endif

View File

@ -1,5 +1,6 @@
# Put board specific dependencies here
ifeq (native,$(BOARD))
USEMODULE += netdev_tap
USEMODULE += socket_zep
else
USEMODULE += stdio_ethos