examples/gnrc_networking: add port configuration for socket_zep
Set the socket_zep port so that native will connect to the default border router configuration.
This commit is contained in:
parent
90f3c15084
commit
ecd40ff824
@ -36,6 +36,17 @@ USEMODULE += netstats_rpl
|
|||||||
# development process:
|
# development process:
|
||||||
DEVELHELP ?= 1
|
DEVELHELP ?= 1
|
||||||
|
|
||||||
|
# Instead of simulating an Ethernet connection, we can also simulate
|
||||||
|
# an IEEE 802.15.4 radio using ZEP
|
||||||
|
USE_ZEP ?= 0
|
||||||
|
|
||||||
|
# set the ZEP port for native
|
||||||
|
ZEP_PORT_BASE ?= 17754
|
||||||
|
ifeq (1,$(USE_ZEP))
|
||||||
|
TERMFLAGS += -z [::1]:$(ZEP_PORT_BASE)
|
||||||
|
USEMODULE += socket_zep
|
||||||
|
endif
|
||||||
|
|
||||||
# Uncomment the following 2 lines to specify static link lokal IPv6 address
|
# Uncomment the following 2 lines to specify static link lokal IPv6 address
|
||||||
# this might be useful for testing, in cases where you cannot or do not want to
|
# this might be useful for testing, in cases where you cannot or do not want to
|
||||||
# run a shell with ifconfig to get the real link lokal address.
|
# run a shell with ifconfig to get the real link lokal address.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user