zephyr/boards/shields/mikroe_eth_click/Kconfig.defconfig
Andrei Gansari aaee2864f8 boards: mikroe_eth_click conditional configuration
Replaces .conf type configuration with .defconfig.
Makes configuration conditional, it depends on shield definition and
networking.

Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com>
2020-07-17 11:59:41 -05:00

25 lines
356 B
Plaintext

# Copyright (c) 2020 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
if SHIELD_MIKROE_ETH_CLICK
if NETWORKING
# ENC28J60 is L2 chip slave on SPI
config SPI
default y
config NET_L2_ETHERNET
default y
# ENC28J60 Ethernet Device
config ETH_ENC28J60
default y
config ETH_ENC28J60_0
default y
endif # NETWORKING
endif # SHIELD_MIKROE_ETH_CLICK