mirror of
https://github.com/zephyrproject-rtos/zephyr.git
synced 2024-12-04 10:18:24 +08:00
aaee2864f8
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>
25 lines
356 B
Plaintext
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
|