1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/pkg_semtech-loramac/Makefile
Alexandre Abadie c3a647f15e
tests/pkg_semtech-loramac: remove useless BOARD_BLACKLIST
msp430 architecture is blacklisted at package level. pic32-clicker/wifire boards doesn't provided the some required features (SPI, GPIO_IRQ)
2019-11-15 18:14:25 +01:00

28 lines
632 B
Makefile

BOARD ?= b-l072z-lrwan1
include ../Makefile.tests_common
# waspmote-pro and arduino-meag2560 don't have enough RAM to support another
# thread dedicated to RX messages
BOARD_WITHOUT_LORAMAC_RX := arduino-mega2560 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 += auto_init_loramac
USEMODULE += shell
USEMODULE += shell_commands
USEMODULE += fmt
FEATURES_OPTIONAL += periph_eeprom
include $(RIOTBASE)/Makefile.include