1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/nrf24l01p: model in Kconfig

This commit is contained in:
Alexandre Abadie 2023-05-23 09:44:32 +02:00
parent 40d0f64a04
commit 1dc6e0e32b
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 21 additions and 0 deletions

View File

@ -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"

20
drivers/nrf24l01p/Kconfig Normal file
View File

@ -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.