mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
39 lines
911 B
Makefile
39 lines
911 B
Makefile
|
include ../Makefile.tests_common
|
||
|
|
||
|
RIOTBASE ?= $(CURDIR)/../..
|
||
|
|
||
|
export TAP ?= tap0
|
||
|
|
||
|
# use Ethernet as link-layer protocol
|
||
|
ifeq (native,$(BOARD))
|
||
|
TERMFLAGS ?= $(TAP)
|
||
|
else
|
||
|
ETHOS_BAUDRATE ?= 115200
|
||
|
CFLAGS += -DETHOS_BAUDRATE=$(ETHOS_BAUDRATE)
|
||
|
TERMDEPS += ethos
|
||
|
TERMPROG ?= sudo $(RIOTTOOLS)/ethos/ethos
|
||
|
TERMFLAGS ?= $(TAP) $(PORT) $(ETHOS_BAUDRATE)
|
||
|
endif
|
||
|
USEMODULE += auto_init_gnrc_netif
|
||
|
USEMODULE += gnrc_ipv6_default
|
||
|
USEMODULE += gnrc_sock_udp
|
||
|
USEMODULE += emcute
|
||
|
USEMODULE += od
|
||
|
USEMODULE += shell
|
||
|
USEMODULE += shell_commands
|
||
|
USEMODULE += sock_util
|
||
|
|
||
|
CFLAGS += -DEMCUTE_TOPIC_MAXLEN="249" # 256 - 7
|
||
|
CFLAGS += -DSTDIO_UART_RX_BUFSIZE="512" # Adapt to SHELL_BUFSIZE in app
|
||
|
|
||
|
# The test requires some setup and to be run as root
|
||
|
# So it cannot currently be run
|
||
|
TEST_ON_CI_BLACKLIST += all
|
||
|
|
||
|
.PHONY: ethos
|
||
|
|
||
|
ethos:
|
||
|
$(Q)env -u CC -u CFLAGS make -C $(RIOTTOOLS)/ethos
|
||
|
|
||
|
include $(RIOTBASE)/Makefile.include
|