2020-06-26 21:55:37 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio
|
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
|
|
|
FEATURES_REQUIRED += periph_spi
|
|
|
|
FEATURES_OPTIONAL += periph_spi_gpio_mode
|
|
|
|
USEMODULE += iolist
|
2020-07-17 15:35:29 +02:00
|
|
|
USEMODULE += ztimer_usec
|
|
|
|
USEMODULE += ztimer_msec
|
|
|
|
|
|
|
|
# If RTT feature is available use the RTT backend of ztimer
|
|
|
|
FEATURES_OPTIONAL += periph_rtt
|
|
|
|
ifneq (,$(filter periph_rtt,$(FEATURES_USED)))
|
|
|
|
USEMODULE += ztimer_periph_rtt
|
|
|
|
endif
|
|
|
|
|
2020-06-26 21:55:37 +02:00
|
|
|
USEMODULE += lora
|
|
|
|
|
|
|
|
ifneq (,$(filter gnrc,$(USEMODULE)))
|
|
|
|
# Pull in `ifconfig` support for LoRA
|
|
|
|
USEMODULE += gnrc_netif_cmd_lora
|
|
|
|
endif
|