diff --git a/drivers/sx126x/Kconfig b/drivers/sx126x/Kconfig index 1ceba874af..dbc2ac6590 100644 --- a/drivers/sx126x/Kconfig +++ b/drivers/sx126x/Kconfig @@ -14,6 +14,7 @@ menuconfig MODULE_SX126X depends on HAS_PERIPH_GPIO depends on HAS_PERIPH_GPIO_IRQ select MODULE_IOLIST + select MODULE_LORA select MODULE_NETDEV_LEGACY_API select MODULE_PERIPH_GPIO select MODULE_PERIPH_GPIO_IRQ diff --git a/drivers/sx126x/Makefile.dep b/drivers/sx126x/Makefile.dep index 2862d6ff22..e1a215118b 100644 --- a/drivers/sx126x/Makefile.dep +++ b/drivers/sx126x/Makefile.dep @@ -2,3 +2,5 @@ USEMODULE += iolist USEMODULE += netdev_legacy_api USEPKG += driver_sx126x FEATURES_REQUIRED += periph_gpio_irq + +USEMODULE += lora