Skip to content

Commit

Permalink
tests/pkg_semtech-loramac: use semtech_loramac_rx with supported boards
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed May 29, 2019
1 parent 936c912 commit 79d5fac
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tests/pkg_semtech-loramac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,26 @@ include ../Makefile.tests_common

BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \
arduino-uno nucleo-f031k6 nucleo-f042k6 \
nucleo-l031k6 waspmote-pro
nucleo-l031k6

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
Expand Down

0 comments on commit 79d5fac

Please sign in to comment.