1# 2# Copyright (c) 2024 Nordic Semiconductor 3# 4# SPDX-License-Identifier: Apache-2.0 5# 6 7DT_COMPAT_NORDIC_NRF7002_QSPI := nordic,nrf7002-qspi 8DT_COMPAT_NORDIC_NRF7002_SPI := nordic,nrf7002-spi 9DT_COMPAT_NORDIC_NRF7001_QSPI := nordic,nrf7001-qspi 10DT_COMPAT_NORDIC_NRF7001_SPI := nordic,nrf7001-spi 11DT_COMPAT_NORDIC_NRF7000_QSPI := nordic,nrf7000-qspi 12DT_COMPAT_NORDIC_NRF7000_SPI := nordic,nrf7000-spi 13 14menuconfig NRF70_BUSLIB 15 bool "NRF70 Bus Library" 16 help 17 Enable the NRF70 Bus Library for the nRF7002 Wi-Fi shield. 18 19if NRF70_BUSLIB 20 21config NRF70_ON_QSPI 22 def_bool $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF7002_QSPI)) ||\ 23 $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF7001_QSPI)) ||\ 24 $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF7000_QSPI)) 25 select NRFX_QSPI 26 27config NRF70_ON_SPI 28 def_bool $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF7002_SPI)) ||\ 29 $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF7001_SPI)) ||\ 30 $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF7000_SPI)) 31 select SPI 32 33module = WIFI_NRF70_BUSLIB 34module-dep = LOG 35module-str = Log level for Wi-Fi nRF70 bus library 36source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config" 37 38config WIFI_NRF70_BUSLIB_LOG_LEVEL 39 # Enable error by default 40 default 1 41 42config NRF70_LOG_VERBOSE 43 bool "Maintains the verbosity of information in logs" 44 default y 45 46endif # NRF70_BUSLIB 47