2017-03-28 10:51:23 +02:00
|
|
|
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
|
|
|
|
PORT ?= tap1
|
|
|
|
|
2017-03-06 08:47:06 +01:00
|
|
|
TCP_TARGET_ADDR ?= fe80::affe
|
2016-02-04 14:37:35 +01:00
|
|
|
TCP_TARGET_PORT ?= 80
|
2017-03-06 08:47:06 +01:00
|
|
|
TCP_TEST_CYCLES ?= 3
|
2016-02-04 14:37:35 +01:00
|
|
|
|
|
|
|
# Mark Boards with insufficient memory
|
2017-03-13 18:27:50 +01:00
|
|
|
BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \
|
2018-03-24 04:05:13 +01:00
|
|
|
arduino-uno calliope-mini chronos mega-xplained microbit \
|
|
|
|
msb-430 msb-430h nrf51dongle nrf6310 nucleo32-f031 \
|
2018-02-27 14:26:54 +01:00
|
|
|
nucleo32-f042 nucleo32-f303 nucleo32-l031 nucleo-f030r8 \
|
2018-02-27 14:37:17 +01:00
|
|
|
nucleo-f070rb nucleo-f072rb nucleo-f302r8 nucleo-f334r8 nucleo-l053r8 \
|
2017-11-09 13:59:18 +01:00
|
|
|
sb-430 sb-430h stm32f0discovery telosb \
|
2017-08-24 17:10:27 +02:00
|
|
|
wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1
|
2016-02-04 14:37:35 +01:00
|
|
|
|
|
|
|
# Target Address, Target Port and number of Test Cycles
|
|
|
|
CFLAGS += -DTARGET_ADDR=\"$(TCP_TARGET_ADDR)\"
|
|
|
|
CFLAGS += -DTARGET_PORT=$(TCP_TARGET_PORT)
|
|
|
|
CFLAGS += -DCYCLES=$(TCP_TEST_CYCLES)
|
|
|
|
|
|
|
|
# Modules to include
|
|
|
|
USEMODULE += gnrc_netdev_default
|
|
|
|
USEMODULE += auto_init_gnrc_netif
|
|
|
|
USEMODULE += gnrc_ipv6_default
|
|
|
|
USEMODULE += gnrc_tcp
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|