2014-02-10 15:28:55 +01:00
|
|
|
# name of your application
|
2014-01-06 10:10:47 +01:00
|
|
|
export PROJECT = rpl_udp
|
|
|
|
|
2014-01-13 11:12:14 +01:00
|
|
|
# If no BOARD is found in the environment, use this default:
|
2014-01-13 11:05:52 +01:00
|
|
|
export BOARD ?= native
|
|
|
|
|
|
|
|
# This has to be the absolute path to the RIOT base directory:
|
2014-01-15 17:26:10 +01:00
|
|
|
export RIOTBASE ?= $(CURDIR)/../..
|
2014-01-13 11:05:52 +01:00
|
|
|
|
|
|
|
# Uncomment these lines if you want to use platform support from external
|
|
|
|
# repositories:
|
|
|
|
#export RIOTCPU ?= $(CURDIR)/../../RIOT/thirdparty_cpu
|
|
|
|
#export RIOTBOARD ?= $(CURDIR)/../../RIOT/thirdparty_boards
|
|
|
|
|
|
|
|
# Uncomment this to enable scheduler statistics for ps:
|
|
|
|
#CFLAGS += -DSCHEDSTATISTICS
|
|
|
|
|
2014-02-08 19:42:54 +01:00
|
|
|
# If you want to use native with valgrind, you should recompile native
|
|
|
|
# with the target all-valgrind instead of all:
|
|
|
|
# make -B clean all-valgrind
|
2014-01-13 11:05:52 +01:00
|
|
|
|
|
|
|
# Uncomment this to enable 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:
|
|
|
|
export QUIET ?= 1
|
2014-01-06 10:10:47 +01:00
|
|
|
|
|
|
|
# get rid of the mandatory RPL warning
|
2014-02-23 21:04:58 +01:00
|
|
|
ifeq ($(shell $(CC) -Wno-cpp -E - 2>/dev/null >/dev/null dev/null ; echo $$?),0)
|
|
|
|
ifeq ($(shell LANG=C $(CC) -Wno-cpp -E - 2>&1 1>/dev/null dev/null | grep warning: | grep -- -Wno-cpp),)
|
|
|
|
CFLAGS += -Wno-cpp
|
|
|
|
endif
|
|
|
|
endif
|
2014-01-06 10:10:47 +01:00
|
|
|
|
2014-02-27 12:48:30 +01:00
|
|
|
BOARD_BLACKLIST := arduino-due chronos mbed_lpc1768 msb-430 msb-430h \
|
|
|
|
pttu redbee-econotag telosb udoo wsn430-v1_3b wsn430-v1_4 z1
|
2014-04-18 15:24:03 +02:00
|
|
|
# chronos: not enough RAM
|
|
|
|
# mbed_lpc1768: see https://github.com/RIOT-OS/RIOT/issues/675
|
|
|
|
# msb-430: see https://github.com/RIOT-OS/RIOT/issues/658
|
|
|
|
# msb-430h: not enough RAM
|
2014-02-27 12:48:30 +01:00
|
|
|
# pttu: see https://github.com/RIOT-OS/RIOT/issues/659
|
2014-04-18 15:24:03 +02:00
|
|
|
# redbee-econotag: not enough RAM
|
|
|
|
# telosb: not enough RAM
|
|
|
|
# wsn430-v1_3b: not enough RAM
|
|
|
|
# wsn430-v1_4: not enough RAM
|
2014-02-27 12:48:30 +01:00
|
|
|
# z1: not enough RAM
|
2014-04-18 15:24:03 +02:00
|
|
|
|
2014-01-13 11:12:14 +01:00
|
|
|
# Modules to include:
|
2014-01-06 10:10:47 +01:00
|
|
|
|
|
|
|
USEMODULE += shell
|
|
|
|
USEMODULE += shell_commands
|
|
|
|
USEMODULE += posix
|
2014-02-11 18:15:43 +01:00
|
|
|
USEMODULE += ps
|
|
|
|
USEMODULE += vtimer
|
2014-04-02 14:30:17 +02:00
|
|
|
USEMODULE += defaulttransceiver
|
2014-01-06 10:10:47 +01:00
|
|
|
USEMODULE += rpl
|
|
|
|
USEMODULE += destiny
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|