diff --git a/drivers/Kconfig.net b/drivers/Kconfig.net index 4b95e6460a..ff194b8fb3 100644 --- a/drivers/Kconfig.net +++ b/drivers/Kconfig.net @@ -27,6 +27,7 @@ rsource "mcp2515/Kconfig" rsource "mrf24j40/Kconfig" rsource "ncv7356/Kconfig" rsource "netdev_ieee802154_submac/Kconfig" +rsource "nrf24l01p/Kconfig" rsource "pn532/Kconfig" rsource "rn2xx3/Kconfig" rsource "$(RIOTCPU)/sam0_common/sam0_eth/Kconfig" diff --git a/drivers/nrf24l01p/Kconfig b/drivers/nrf24l01p/Kconfig new file mode 100644 index 0000000000..ce970122d8 --- /dev/null +++ b/drivers/nrf24l01p/Kconfig @@ -0,0 +1,20 @@ +# Copyright (c) 2023 Inria +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +menuconfig MODULE_NRF24L01P + bool + prompt "nrf24l01p radio" if !(MODULE_NETDEV_DEFAULT && HAVE_NRF24L01P) + default (MODULE_NETDEV_DEFAULT && HAVE_NRF24L01P) + depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_PERIPH_GPIO_IRQ + select MODULE_PERIPH_SPI + select ZTIMER_USEC + +config HAVE_NRF24L01P + bool + help + Indicates that a NRF24L01P radio is present.