diff --git a/boards/common/kw41z/Kconfig b/boards/common/kw41z/Kconfig index db004741be..9a5253b567 100644 --- a/boards/common/kw41z/Kconfig +++ b/boards/common/kw41z/Kconfig @@ -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 diff --git a/boards/openlabs-kw41z-mini/Kconfig b/boards/openlabs-kw41z-mini/Kconfig index 384eab1714..9ef44aa138 100644 --- a/boards/openlabs-kw41z-mini/Kconfig +++ b/boards/openlabs-kw41z-mini/Kconfig @@ -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 diff --git a/drivers/Kconfig.net b/drivers/Kconfig.net index 3ba32e3076..f62dbf2843 100644 --- a/drivers/Kconfig.net +++ b/drivers/Kconfig.net @@ -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" diff --git a/drivers/kw41zrf/Kconfig b/drivers/kw41zrf/Kconfig new file mode 100644 index 0000000000..31831f7182 --- /dev/null +++ b/drivers/kw41zrf/Kconfig @@ -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. diff --git a/drivers/kw41zrf/vendor/XCVR/MKW41Z4/Kconfig b/drivers/kw41zrf/vendor/XCVR/MKW41Z4/Kconfig new file mode 100644 index 0000000000..8560b6ccd1 --- /dev/null +++ b/drivers/kw41zrf/vendor/XCVR/MKW41Z4/Kconfig @@ -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.