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 13DT_COMPAT_NORDIC_WIFI71 := nordic,nrf7120 14 15menuconfig NRF70_BUSLIB 16 bool "NRF70 Bus Library" 17 help 18 Enable the NRF70 Bus Library for the nRF7002 Wi-Fi shield. 19 20if NRF70_BUSLIB 21 22config NRF70_ON_QSPI 23 def_bool $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF7002_QSPI)) ||\ 24 $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF7001_QSPI)) ||\ 25 $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF7000_QSPI)) 26 select NRFX_QSPI 27 28config NRF70_ON_SPI 29 def_bool $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF7002_SPI)) ||\ 30 $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF7001_SPI)) ||\ 31 $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF7000_SPI)) 32 select SPI 33 34config NRF71_ON_IPC 35 def_bool $(dt_compat_enabled,$(DT_COMPAT_NORDIC_WIFI71)) 36 select MBOX 37 select IPC_SERVICE 38 select SPSC_PBUF 39 help 40 nRF71 is a Wi-Fi and BLE combo SoC and uses IPC as a communication 41 between APP and Wi-Fi cores. 42 43module = WIFI_NRF70_BUSLIB 44module-dep = LOG 45module-str = Log level for Wi-Fi nRF70 bus library 46source "$(ZEPHYR_BASE)/subsys/logging/Kconfig.template.log_config" 47 48config WIFI_NRF70_BUSLIB_LOG_LEVEL 49 # Enable error by default 50 default 1 51 52config NRF70_LOG_VERBOSE 53 bool "Maintains the verbosity of information in logs" 54 default y 55 56endif # NRF70_BUSLIB 57