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

drivers/kw41zrf: model Kconfig

This commit is contained in:
Leandro Lanzieri 2022-03-09 09:10:09 +01:00
parent c3501e8b35
commit 8390641638
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
5 changed files with 42 additions and 0 deletions

View File

@ -15,6 +15,7 @@ config BOARD_COMMON_KW41Z
select HAS_PERIPH_UART
select HAS_RIOTBOOT
select HAVE_KW41ZRF
select HAVE_SAUL_ADC
select HAVE_SAUL_GPIO

View File

@ -21,5 +21,6 @@ config BOARD_OPENLABS_KW41Z_MINI
select HAS_PERIPH_UART
select HAS_RIOTBOOT
select HAVE_KW41ZRF
select HAVE_SAUL_ADC
select HAVE_SAUL_GPIO

View File

@ -22,6 +22,7 @@ rsource "enc28j60/Kconfig"
rsource "encx24j600/Kconfig"
rsource "ethos/Kconfig"
rsource "kw2xrf/Kconfig"
rsource "kw41zrf/Kconfig"
rsource "mcp2515/Kconfig"
rsource "mrf24j40/Kconfig"
rsource "ncv7356/Kconfig"

28
drivers/kw41zrf/Kconfig Normal file
View File

@ -0,0 +1,28 @@
# Copyright (c) 2022 HAW Hamburg
#
# 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.
#
config MODULE_KW41ZRF
bool "KW41ZRF radio"
depends on TEST_KCONFIG
depends on CPU_MODEL_MKW41Z256VHT4
depends on CPU_MODEL_MKW41Z512VHT4
select MODULE_MCUX_XCVR_MKW41Z
select MODULE_IEEE802154
select MODULE_NETDEV
select MODULE_NETDEV_IEEE802154
select MODULE_CORE_THREAD_FLAGS
select MODULE_RANDOM
help
Device driver for the NXP KW41Z, KW21Z in-cpu transceiver.
rsource "vendor/XCVR/MKW41Z4/Kconfig"
config HAVE_KW41ZRF
bool
select MODULE_KW41ZRF if MODULE_NETDEV_DEFAULT
help
Indicates that a KW41ZRF radio is present.

View File

@ -0,0 +1,11 @@
# Copyright (c) 2022 HAW Hamburg
#
# 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.
#
config MODULE_MCUX_XCVR_MKW41Z
bool
help
Vendor code for the kw41zrf driver.