2020-09-02 16:36:48 +08:00
|
|
|
# W5500 Ethernet driver configuration options
|
|
|
|
|
|
|
|
# Copyright (c) 2020 Linumiz
|
|
|
|
# Author: Parthiban Nallathambi <parthiban@linumiz.com>
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig ETH_W5500
|
|
|
|
bool "W5500 Ethernet Controller"
|
2022-08-09 23:46:31 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_WIZNET_W5500_ENABLED
|
|
|
|
select SPI
|
2020-09-02 16:36:48 +08:00
|
|
|
help
|
|
|
|
W5500 Stand-Alone Ethernet Controller
|
|
|
|
with SPI Interface
|
|
|
|
|
|
|
|
config ETH_W5500_RX_THREAD_STACK_SIZE
|
|
|
|
int "Stack size for internal incoming packet handler"
|
|
|
|
depends on ETH_W5500
|
|
|
|
default 800
|
|
|
|
help
|
|
|
|
Size of the stack used for internal thread which is ran for
|
|
|
|
incoming packet processing.
|
|
|
|
|
|
|
|
config ETH_W5500_RX_THREAD_PRIO
|
|
|
|
int "Priority for internal incoming packet handler"
|
|
|
|
depends on ETH_W5500
|
|
|
|
default 2
|
|
|
|
help
|
|
|
|
Priority level for internal thread which is ran for incoming
|
|
|
|
packet processing.
|
|
|
|
|
|
|
|
config ETH_W5500_TIMEOUT
|
|
|
|
int "IP buffer timeout"
|
|
|
|
depends on ETH_W5500
|
|
|
|
default 100
|
|
|
|
help
|
|
|
|
Given timeout in milliseconds. Maximum amount of time
|
|
|
|
that the driver will wait from the IP stack to get
|
|
|
|
a memory buffer before the Ethernet frame is dropped.
|