1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/gnrc_tcp_server/Makefile

47 lines
1.7 KiB
Makefile
Raw Normal View History

include ../Makefile.tests_common
2016-02-04 14:37:35 +01:00
# If no BOARD is found in the environment, use this default:
BOARD ?= native
ifeq (native,$(BOARD))
PORT ?= tap0
endif
2016-02-04 14:37:35 +01:00
2019-02-06 19:43:04 +01:00
TCP_SERVER_ADDR ?= 2001:db8::affe:0001
TCP_SERVER_PORT ?= 80
TCP_TEST_CYCLES ?= 3
2016-02-04 14:37:35 +01:00
# Mark Boards with insufficient memory
BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove \
arduino-leonardo arduino-mega2560 \
arduino-nano arduino-uno calliope-mini chronos \
2019-06-25 19:17:36 +02:00
hifive1 hifive1b i-nucleo-lrwan1 mega-xplained microbit \
msb-430 msb-430h \
nrf51dk nrf51dongle nrf6310 nucleo-f031k6 \
nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \
nucleo-f030r8 nucleo-f070rb nucleo-f072rb \
nucleo-f302r8 nucleo-f334r8 nucleo-l053r8 \
saml10-xpro saml11-xpro sb-430 sb-430h \
stm32f0discovery stm32l0538-disco telosb \
waspmote-pro wsn430-v1_3b \
wsn430-v1_4 yunjia-nrf51822 z1
2016-02-04 14:37:35 +01:00
# Local Address, Local Port and number of Test Cycles
2019-02-06 19:43:04 +01:00
CFLAGS += -DSERVER_ADDR=\"$(TCP_SERVER_ADDR)\"
CFLAGS += -DSERVER_PORT=$(TCP_SERVER_PORT)
CFLAGS += -DCYCLES=$(TCP_TEST_CYCLES)
CFLAGS += -DGNRC_NETIF_IPV6_GROUPS_NUMOF=3
2019-02-06 19:43:04 +01:00
CFLAGS += -DGNRC_IPV6_NIB_CONF_ARSM=1
CFLAGS += -DGNRC_IPV6_NIB_CONF_QUEUE_PKT=1
2016-02-04 14:37:35 +01:00
# Modules to include
USEMODULE += gnrc_netdev_default
USEMODULE += auto_init_gnrc_netif
USEMODULE += gnrc_ipv6_default
USEMODULE += gnrc_tcp
# include this for IP address manipulation
2016-02-04 14:37:35 +01:00
USEMODULE += shell_commands
include $(RIOTBASE)/Makefile.include