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:
commit
df676dc078
@ -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)))
|
||||
|
@ -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
|
||||
|
||||
|
@ -13,6 +13,7 @@ ifeq (,$(filter native,$(BOARD)))
|
||||
endif
|
||||
endif
|
||||
else
|
||||
USEMODULE += netdev_tap
|
||||
USEMODULE += socket_zep
|
||||
USEMODULE += socket_zep_hello
|
||||
endif
|
||||
|
@ -1,5 +1,6 @@
|
||||
# Put board specific dependencies here
|
||||
ifeq (native,$(BOARD))
|
||||
USEMODULE += netdev_tap
|
||||
USEMODULE += socket_zep
|
||||
else
|
||||
USEMODULE += stdio_ethos
|
||||
|
Loading…
Reference in New Issue
Block a user