2016-02-04 14:37:35 +01:00
|
|
|
# name of your application
|
2017-01-30 18:16:28 +01:00
|
|
|
APPLICATION = gnrc_tcp_server
|
2016-02-04 14:37:35 +01:00
|
|
|
|
|
|
|
# If no BOARD is found in the environment, use this default:
|
|
|
|
BOARD ?= native
|
|
|
|
PORT ?= tap0
|
|
|
|
|
|
|
|
TCP_LOCAL_PORT ?= 80
|
|
|
|
|
|
|
|
# Mark Boards with insufficient memory
|
2017-03-13 18:27:50 +01:00
|
|
|
BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \
|
|
|
|
arduino-uno calliope-mini chronos microbit msb-430 \
|
|
|
|
msb-430h nrf51dongle nrf6310 nucleo32-f031 \
|
2017-03-01 11:36:05 +01:00
|
|
|
nucleo32-f042 nucleo32-f303 nucleo32-l031 nucleo-f030 \
|
2017-02-16 14:05:07 +01:00
|
|
|
nucleo-f070 nucleo-f072 nucleo-f302 nucleo-f334 nucleo-l053 \
|
|
|
|
pca10000 pca10005 sb-430 sb-430h stm32f0discovery telosb \
|
|
|
|
weio wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1
|
2016-02-04 14:37:35 +01:00
|
|
|
|
|
|
|
# This has to be the absolute path to the RIOT base directory:
|
|
|
|
RIOTBASE ?= $(CURDIR)/../..
|
|
|
|
|
|
|
|
# Specify local Port to open
|
|
|
|
CFLAGS += -DLOCAL_PORT=$(TCP_LOCAL_PORT)
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
# Change this to 0 show compiler invocation lines by default:
|
|
|
|
QUIET ?= 1
|
|
|
|
|
|
|
|
# Modules to include
|
|
|
|
USEMODULE += gnrc_netdev_default
|
|
|
|
USEMODULE += auto_init_gnrc_netif
|
|
|
|
USEMODULE += gnrc_ipv6_default
|
|
|
|
USEMODULE += gnrc_tcp
|
|
|
|
|
|
|
|
# include this for printing IP addresses
|
|
|
|
USEMODULE += shell_commands
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|