2015-03-13 19:38:20 +01:00
|
|
|
APPLICATION = driver_xbee
|
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
|
|
|
FEATURES_REQUIRED = periph_uart periph_gpio
|
|
|
|
|
2016-12-28 13:44:13 +01:00
|
|
|
BOARD_INSUFFICIENT_MEMORY := nucleo-f030 nucleo-f334 stm32f0discovery weio \
|
2017-01-18 22:04:59 +01:00
|
|
|
nucleo32-f042
|
2015-03-13 19:38:20 +01:00
|
|
|
|
|
|
|
USEMODULE += xbee
|
2015-08-17 15:41:29 +02:00
|
|
|
USEMODULE += gnrc_netif
|
2017-01-17 16:17:44 +01:00
|
|
|
USEMODULE += gnrc_txtsnd
|
2016-11-23 19:40:56 +01:00
|
|
|
USEMODULE += gnrc_netdev2
|
2015-08-19 12:38:38 +02:00
|
|
|
USEMODULE += auto_init_gnrc_netif
|
2015-08-17 15:41:29 +02:00
|
|
|
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
|
2017-01-18 10:55:25 +01:00
|
|
|
XBEE_UART ?= "1"
|
2015-11-03 15:27:25 +01:00
|
|
|
|
|
|
|
# export UART to params file
|
|
|
|
CFLAGS += -DXBEE_UART=$(XBEE_UART)
|
2015-03-13 19:38:20 +01:00
|
|
|
|
2017-01-18 10:55:25 +01:00
|
|
|
# No need of big buffer for this test
|
|
|
|
CFLAGS += -DGNRC_PKTBUF_SIZE=512
|
|
|
|
|
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
|