Parthiban Nallathambi | c2ee9f5 | 2020-09-02 10:36:48 +0200 | [diff] [blame] | 1 | # W5500 Ethernet driver configuration options |
| 2 | |
| 3 | # Copyright (c) 2020 Linumiz |
| 4 | # Author: Parthiban Nallathambi <parthiban@linumiz.com> |
| 5 | # SPDX-License-Identifier: Apache-2.0 |
| 6 | |
| 7 | menuconfig ETH_W5500 |
| 8 | bool "W5500 Ethernet Controller" |
Kumar Gala | d361256 | 2022-08-09 10:46:31 -0500 | [diff] [blame] | 9 | default y |
| 10 | depends on DT_HAS_WIZNET_W5500_ENABLED |
| 11 | select SPI |
Parthiban Nallathambi | c2ee9f5 | 2020-09-02 10:36:48 +0200 | [diff] [blame] | 12 | help |
| 13 | W5500 Stand-Alone Ethernet Controller |
| 14 | with SPI Interface |
| 15 | |
| 16 | config ETH_W5500_RX_THREAD_STACK_SIZE |
| 17 | int "Stack size for internal incoming packet handler" |
| 18 | depends on ETH_W5500 |
| 19 | default 800 |
| 20 | help |
| 21 | Size of the stack used for internal thread which is ran for |
| 22 | incoming packet processing. |
| 23 | |
| 24 | config ETH_W5500_RX_THREAD_PRIO |
| 25 | int "Priority for internal incoming packet handler" |
| 26 | depends on ETH_W5500 |
| 27 | default 2 |
| 28 | help |
| 29 | Priority level for internal thread which is ran for incoming |
| 30 | packet processing. |
| 31 | |
| 32 | config ETH_W5500_TIMEOUT |
| 33 | int "IP buffer timeout" |
| 34 | depends on ETH_W5500 |
| 35 | default 100 |
| 36 | help |
| 37 | Given timeout in milliseconds. Maximum amount of time |
| 38 | that the driver will wait from the IP stack to get |
| 39 | a memory buffer before the Ethernet frame is dropped. |