2017-10-08 12:48:11 +02:00
|
|
|
BOARD ?= b-l072z-lrwan1
|
|
|
|
|
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
2019-05-24 17:36:06 +02:00
|
|
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \
|
|
|
|
arduino-uno nucleo-f031k6 nucleo-f042k6 \
|
|
|
|
nucleo-l031k6
|
2017-10-08 12:48:11 +02:00
|
|
|
|
2018-06-27 16:19:53 +02:00
|
|
|
BOARD_BLACKLIST := msb-430 msb-430h pic32-clicker pic32-wifire \
|
|
|
|
telosb wsn430-v1_3b wsn430-v1_4 z1
|
2017-10-08 12:48:11 +02:00
|
|
|
|
2019-05-21 08:58:35 +02:00
|
|
|
# waspmote-pro doesn't have enough RAM to support another thread dedicated to
|
|
|
|
# RX messages
|
|
|
|
BOARD_WITHOUT_LORAMAC_RX := waspmote-pro
|
|
|
|
|
2017-10-08 12:48:11 +02:00
|
|
|
LORA_DRIVER ?= sx1276
|
|
|
|
LORA_REGION ?= EU868
|
|
|
|
|
|
|
|
USEPKG += semtech-loramac
|
|
|
|
USEMODULE += $(LORA_DRIVER)
|
|
|
|
|
2019-05-21 08:58:35 +02:00
|
|
|
# load loramac RX if board supports it
|
|
|
|
ifeq (,$(filter $(BOARD),$(BOARD_WITHOUT_LORAMAC_RX)))
|
|
|
|
USEMODULE += semtech_loramac_rx
|
|
|
|
endif
|
|
|
|
|
2017-10-08 12:48:11 +02:00
|
|
|
USEMODULE += shell
|
|
|
|
USEMODULE += shell_commands
|
|
|
|
USEMODULE += fmt
|
|
|
|
|
2018-07-09 16:39:47 +02:00
|
|
|
FEATURES_OPTIONAL += periph_eeprom
|
|
|
|
|
2017-10-08 12:48:11 +02:00
|
|
|
include $(RIOTBASE)/Makefile.include
|