Blame view

RIOT/tests/gnrc_tcp_client/Makefile 1.38 KB
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
  # name of your application
  APPLICATION = gnrc_tcp_client
  include ../Makefile.tests_common
  
  # If no BOARD is found in the environment, use this default:
  BOARD ?= native
  PORT ?= tap1
  
  TCP_TARGET_ADDR ?= fe80::affe
  TCP_TARGET_PORT ?= 80
  TCP_TEST_CYCLES ?= 3
  
  # Mark Boards with insufficient memory
  BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \
                               arduino-uno calliope-mini chronos microbit msb-430 \
                               msb-430h nrf51dongle nrf6310 nucleo32-f031 \
                               nucleo32-f042 nucleo32-f303 nucleo32-l031 nucleo-f030 \
                               nucleo-f070 nucleo-f072 nucleo-f302 nucleo-f334 nucleo-l053 \
                               pca10000 pca10005 sb-430 sb-430h stm32f0discovery telosb \
                               wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1
  
  # 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)
  
  # Comment this out to disable code in RIOT that does safety checking
  # which is not needed in a production environment but helps in the
  # development process:
  #CFLAGS += -DDEVELHELP
  
  # Modules to include
  USEMODULE += gnrc_netdev_default
  USEMODULE += auto_init_gnrc_netif
  USEMODULE += gnrc_ipv6_default
  USEMODULE += gnrc_tcp
  
  include $(RIOTBASE)/Makefile.include