2015-03-13 19:38:20 +01:00
|
|
|
APPLICATION = driver_xbee
|
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
|
|
|
FEATURES_REQUIRED = periph_uart periph_gpio
|
|
|
|
|
2017-03-13 18:27:50 +01:00
|
|
|
BOARD_INSUFFICIENT_MEMORY := nucleo32-f031 nucleo32-f042 nucleo-f030 nucleo-f334 \
|
|
|
|
stm32f0discovery weio
|
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
|
2017-02-15 13:07:34 +01:00
|
|
|
USEMODULE += gnrc_netdev
|
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
|
2017-02-28 17:33:04 +01:00
|
|
|
CFLAGS += -DXBEE_PARAM_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
|
|
|
|
|
2017-01-18 14:28:59 +01:00
|
|
|
# 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
|
|
|
|
|
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
|