2018-10-30 18:09:41 +01:00
|
|
|
DEVELHELP := 1
|
2016-03-01 11:28:55 +01:00
|
|
|
# name of your application
|
2017-01-20 15:46:53 +01:00
|
|
|
include ../Makefile.tests_common
|
2016-03-01 11:28:55 +01:00
|
|
|
|
2018-10-30 18:09:41 +01:00
|
|
|
export TAP ?= tap0
|
2016-03-01 11:28:55 +01:00
|
|
|
|
2018-07-31 18:04:01 +02:00
|
|
|
# use Ethernet as link-layer protocol
|
2018-10-30 18:09:41 +01:00
|
|
|
ifeq (native,$(BOARD))
|
|
|
|
TERMFLAGS ?= $(TAP)
|
|
|
|
else
|
|
|
|
ETHOS_BAUDRATE ?= 115200
|
2019-06-06 11:04:26 +02:00
|
|
|
CFLAGS += -DETHOS_BAUDRATE=$(ETHOS_BAUDRATE)
|
2018-10-30 18:09:41 +01:00
|
|
|
TERMDEPS += ethos
|
|
|
|
TERMPROG ?= sudo $(RIOTTOOLS)/ethos/ethos
|
|
|
|
TERMFLAGS ?= $(TAP) $(PORT) $(ETHOS_BAUDRATE)
|
|
|
|
endif
|
|
|
|
USEMODULE += auto_init_gnrc_netif
|
2016-03-01 11:28:55 +01:00
|
|
|
# Specify the mandatory networking modules for IPv6
|
|
|
|
USEMODULE += gnrc_ipv6_router_default
|
2018-10-30 18:09:41 +01:00
|
|
|
USEMODULE += gnrc_icmpv6_error
|
|
|
|
USEMODULE += gnrc_pktdump
|
|
|
|
USEMODULE += gnrc_pktbuf_cmd
|
2016-03-01 11:28:55 +01:00
|
|
|
# IPv6 extension headers
|
|
|
|
USEMODULE += gnrc_ipv6_ext
|
2018-10-30 18:09:41 +01:00
|
|
|
USEMODULE += od
|
2016-03-01 11:28:55 +01:00
|
|
|
# Add also the shell, some shell commands
|
2018-10-30 18:09:41 +01:00
|
|
|
USEMODULE += shell
|
|
|
|
USEMODULE += shell_commands
|
2016-03-01 11:28:55 +01:00
|
|
|
USEMODULE += ps
|
|
|
|
|
2019-06-12 18:33:56 +02:00
|
|
|
# The test requires some setup and to be run as root
|
|
|
|
# So it cannot currently be run
|
|
|
|
TEST_ON_CI_BLACKLIST += all
|
2018-01-17 16:25:26 +01:00
|
|
|
|
2018-10-30 18:09:41 +01:00
|
|
|
.PHONY: ethos
|
2018-07-31 18:04:01 +02:00
|
|
|
|
2018-10-30 18:09:41 +01:00
|
|
|
ethos:
|
|
|
|
$(Q)env -u CC -u CFLAGS make -C $(RIOTTOOLS)/ethos
|
2016-03-01 11:28:55 +01:00
|
|
|
|
2018-07-12 23:19:51 +02:00
|
|
|
include $(RIOTBASE)/Makefile.include
|