2017-10-08 12:48:11 +02:00
|
|
|
BOARD ?= b-l072z-lrwan1
|
|
|
|
|
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
2020-01-11 12:55:27 +01:00
|
|
|
BOARD_WITHOUT_LORAMAC_RX := \
|
|
|
|
arduino-mega2560 \
|
2020-01-19 15:11:31 +01:00
|
|
|
i-nucleo-lrwan1 \
|
2020-01-11 12:55:27 +01:00
|
|
|
stm32f0discovery \
|
|
|
|
waspmote-pro \
|
2019-05-21 08:58:35 +02:00
|
|
|
|
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
|
|
|
|
|
2019-04-16 13:43:56 +02:00
|
|
|
USEMODULE += auto_init_loramac
|
2022-08-16 16:35:20 +02:00
|
|
|
USEMODULE += shell_cmds_default
|
2017-10-08 12:48:11 +02:00
|
|
|
USEMODULE += fmt
|
|
|
|
|
2018-07-09 16:39:47 +02:00
|
|
|
FEATURES_OPTIONAL += periph_eeprom
|
|
|
|
|
2019-07-18 17:10:52 +02:00
|
|
|
# Default IotLab Config to run the test
|
|
|
|
ifneq (,$(filter iotlab%,$(MAKECMDGOALS)))
|
|
|
|
IOTLAB_NODES ?= 1
|
|
|
|
IOTLAB_TYPE ?= st-lrwan1:sx1276
|
|
|
|
IOTLAB_SITE ?= saclay
|
|
|
|
include $(RIOTBASE)/dist/testbed-support/Makefile.iotlab
|
|
|
|
endif
|
|
|
|
|
2017-10-08 12:48:11 +02:00
|
|
|
include $(RIOTBASE)/Makefile.include
|