1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00

tests/pkg_semtech-loramac: use semtech_loramac_rx with supported boards

This commit is contained in:
Alexandre Abadie 2019-05-21 08:58:35 +02:00
parent 14a4db137c
commit 56fb2578bf
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -9,12 +9,21 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \
BOARD_BLACKLIST := msb-430 msb-430h pic32-clicker pic32-wifire \
telosb wsn430-v1_3b wsn430-v1_4 z1
# waspmote-pro doesn't have enough RAM to support another thread dedicated to
# RX messages
BOARD_WITHOUT_LORAMAC_RX := waspmote-pro
LORA_DRIVER ?= sx1276
LORA_REGION ?= EU868
USEPKG += semtech-loramac
USEMODULE += $(LORA_DRIVER)
# load loramac RX if board supports it
ifeq (,$(filter $(BOARD),$(BOARD_WITHOUT_LORAMAC_RX)))
USEMODULE += semtech_loramac_rx
endif
USEMODULE += shell
USEMODULE += shell_commands
USEMODULE += fmt