2022-03-21 14:31:13 +01:00
|
|
|
INCLUDES += -I$(APPDIR)
|
|
|
|
BOARD ?= samr21-xpro
|
2015-04-23 18:56:43 +02:00
|
|
|
|
2023-03-30 16:12:49 +02:00
|
|
|
include ../Makefile.drivers_common
|
2015-04-23 18:56:43 +02:00
|
|
|
|
2022-03-21 14:31:13 +01:00
|
|
|
USEMODULE += test_utils_netdev_ieee802154_minimal
|
2015-11-03 15:27:24 +01:00
|
|
|
|
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
|
2021-10-20 13:45:44 +02:00
|
|
|
ifneq (,$(filter iotlab-m3,$(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
|
|
|
|
2022-03-21 14:31:13 +01:00
|
|
|
CFLAGS += -DEVENT_THREAD_STACKSIZE_DEFAULT=1024
|
|
|
|
|
2015-04-23 18:56:43 +02:00
|
|
|
include $(RIOTBASE)/Makefile.include
|