mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 00:09:46 +01:00
drivers/nrf24l01p: model in Kconfig
This commit is contained in:
parent
40d0f64a04
commit
1dc6e0e32b
@ -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
20
drivers/nrf24l01p/Kconfig
Normal 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.
|
Loading…
Reference in New Issue
Block a user