1# Copyright (c) 2020 ATL Electronics
2# SPDX-License-Identifier: Apache-2.0
3
4if SHIELD_INVENTEK_ESWIFI || \
5	SHIELD_INVENTEK_ESWIFI_ARDUINO_SPI || \
6	SHIELD_INVENTEK_ESWIFI_ARDUINO_UART
7
8if NETWORKING
9
10config WIFI_ESWIFI
11	default y
12	depends on WIFI
13
14orsource "boards/*.defconfig"
15
16choice WIFI_ESWIFI_BUS
17	default WIFI_ESWIFI_BUS_SPI if SHIELD_INVENTEK_ESWIFI_ARDUINO_SPI
18	default WIFI_ESWIFI_BUS_UART if SHIELD_INVENTEK_ESWIFI_ARDUINO_UART
19	depends on WIFI_ESWIFI
20endchoice
21
22endif	# NETWORKING
23
24endif	# SHIELD_INVENTEK_ESWIFI || \
25	# SHIELD_INVENTEK_ESWIFI_ARDUINO_SPI || \
26	# SHIELD_INVENTEK_ESWIFI_ARDUINO_UART
27