2015-03-13 19:38:20 +01:00
|
|
|
APPLICATION = driver_xbee
|
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
|
|
|
FEATURES_REQUIRED = periph_uart periph_gpio
|
|
|
|
|
2015-10-01 20:11:48 +02:00
|
|
|
BOARD_INSUFFICIENT_MEMORY := stm32f0discovery weio
|
2015-03-13 19:38:20 +01:00
|
|
|
|
|
|
|
USEMODULE += xbee
|
2015-08-17 15:41:29 +02:00
|
|
|
USEMODULE += gnrc_netif
|
2015-08-19 12:38:38 +02:00
|
|
|
USEMODULE += auto_init_gnrc_netif
|
2015-08-17 15:41:29 +02:00
|
|
|
USEMODULE += gnrc_nomac
|
|
|
|
USEMODULE += gnrc_pktdump
|
2015-03-13 19:38:20 +01:00
|
|
|
USEMODULE += shell
|
|
|
|
USEMODULE += shell_commands
|
|
|
|
|
2015-11-03 15:27:25 +01:00
|
|
|
# set default UART to use in case none was defined
|
|
|
|
XBEE_UART ?= "UART_NUMOF-1"
|
|
|
|
|
|
|
|
# export UART to params file
|
|
|
|
CFLAGS += -DXBEE_UART=$(XBEE_UART)
|
2015-03-13 19:38:20 +01:00
|
|
|
|
2015-05-08 15:51:26 +02:00
|
|
|
# add current directory to the include path. Putting it in CFLAGS will make
|
|
|
|
# it go to the beginning, before the standard includes.
|
|
|
|
# That way xbee_params.h get's included and auto configuration can pick it up.
|
|
|
|
CFLAGS += -I$(CURDIR)
|
|
|
|
|
2015-03-13 19:38:20 +01:00
|
|
|
include $(RIOTBASE)/Makefile.include
|