2015-04-23 18:56:43 +02:00
|
|
|
APPLICATION = driver_at86rf2xx
|
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
|
|
|
FEATURES_REQUIRED = periph_spi periph_gpio
|
|
|
|
|
2015-11-03 15:27:24 +01:00
|
|
|
BOARD_INSUFFICIENT_MEMORY := nucleo-f334 stm32f0discovery weio
|
2015-04-23 18:56:43 +02:00
|
|
|
|
2015-11-03 15:27:24 +01:00
|
|
|
USEMODULE += auto_init_gnrc_netif
|
|
|
|
USEMODULE += gnrc_netif
|
|
|
|
USEMODULE += gnrc_nomac
|
|
|
|
USEMODULE += gnrc_pktdump
|
|
|
|
USEMODULE += shell
|
|
|
|
USEMODULE += shell_commands
|
|
|
|
USEMODULE += ps
|
|
|
|
|
2015-11-13 16:33:50 +01:00
|
|
|
# define the driver to be used for selected boards
|
2015-05-08 15:50:35 +02:00
|
|
|
ifneq (,$(filter samr21-xpro,$(BOARD)))
|
2015-11-13 16:33:50 +01:00
|
|
|
DRIVER := at86rf233
|
2015-04-23 18:56:43 +02:00
|
|
|
endif
|
2015-11-03 15:27:24 +01:00
|
|
|
ifneq (,$(filter iotlab-m3 fox,$(BOARD)))
|
2015-11-13 16:33:50 +01:00
|
|
|
DRIVER := at86rf231
|
2015-04-23 18:56:43 +02:00
|
|
|
endif
|
2015-11-13 16:33:50 +01:00
|
|
|
ifneq (,$(filter mulle,$(BOARD)))
|
|
|
|
DRIVER := at86rf212b
|
2015-11-03 15:27:24 +01:00
|
|
|
endif
|
|
|
|
|
2015-11-13 16:33:50 +01:00
|
|
|
# use the at86rf231 as fallback device
|
|
|
|
DRIVER ?= at86rf231
|
|
|
|
|
|
|
|
# include the selected driver
|
2015-11-03 15:27:24 +01:00
|
|
|
USEMODULE += $(DRIVER)
|
2015-05-08 15:50:35 +02:00
|
|
|
|
|
|
|
CFLAGS += -DDEVELHELP
|
|
|
|
|
2015-04-23 18:56:43 +02:00
|
|
|
include $(RIOTBASE)/Makefile.include
|