2015-06-14 01:16:20 +02:00
|
|
|
APPLICATION = zep
|
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
|
|
|
# though it would work in theory on other boards I'm currently not willing/to
|
|
|
|
# time-constraint to put effort into this for other boards.
|
|
|
|
BOARD_WHITELIST = native
|
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
USEMODULE += gnrc_zep
|
|
|
|
USEMODULE += gnrc_netif_default
|
2015-08-19 12:38:38 +02:00
|
|
|
USEMODULE += auto_init_gnrc_netif
|
2015-08-17 15:41:29 +02:00
|
|
|
USEMODULE += gnrc_ipv6_default
|
|
|
|
USEMODULE += gnrc_nomac
|
|
|
|
USEMODULE += gnrc_pktdump
|
2015-06-14 01:16:20 +02:00
|
|
|
USEMODULE += shell
|
|
|
|
USEMODULE += shell_commands
|
|
|
|
|
|
|
|
|
2015-11-03 15:27:27 +01:00
|
|
|
# set optional default values for ZEP parameters if unset
|
|
|
|
ZEP_DST ?= "\"::1\""
|
|
|
|
ZEP_SRC_PORT ?= GNRC_ZEP_DEFAULT_PORT
|
|
|
|
ZEP_DST_PORT ?= GNRC_ZEP_DEFAULT_PORT
|
2015-06-14 01:16:20 +02:00
|
|
|
|
2015-11-03 15:27:27 +01:00
|
|
|
# export ZEP parameters
|
|
|
|
CFLAGS += -DZEP_DST="\"$(ZEP_DST)\""
|
|
|
|
CFLAGS += -DZEP_SRC_PORT=$(ZEP_SRC_PORT)
|
|
|
|
CFLAGS += -DZEP_DST_PORT=$(ZEP_DST_PORT)
|
2015-06-14 01:16:20 +02:00
|
|
|
|
2015-08-17 15:41:29 +02:00
|
|
|
# one for gnrc_netif_default and one for ZEP
|
|
|
|
CFLAGS += -DGNRC_NETIF_NUMOF=2
|
2015-06-14 01:16:20 +02:00
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|