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
10orsource "boards/*.defconfig"
11
12choice WIFI_ESWIFI_BUS
13	default WIFI_ESWIFI_BUS_SPI if SHIELD_INVENTEK_ESWIFI_ARDUINO_SPI
14	default WIFI_ESWIFI_BUS_UART if SHIELD_INVENTEK_ESWIFI_ARDUINO_UART
15	depends on WIFI_ESWIFI
16endchoice
17
18endif	# NETWORKING
19
20endif	# SHIELD_INVENTEK_ESWIFI || \
21	# SHIELD_INVENTEK_ESWIFI_ARDUINO_SPI || \
22	# SHIELD_INVENTEK_ESWIFI_ARDUINO_UART
23