zephyr/subsys/net/lib/tftp/Kconfig
Torsten Rasmussen 36f5600387 kconfig: net: experimental settings now uses select EXPERIMENTAL
With the introduction of `EXPERIMENTAL` and `WARN_EXPERIMENTAL` in
Zephyr all subsys/net and drivers/ethernet/Kconfig.e1000 settings
having `[EXPERIMENTAL]` in their prompt has has been updated to include
`select EXPERIMENTAL` so that developers can enable warnings when
experimental features are enabled.

The following settings has EXPERIMENTAL removed as they are considered
mature:
- NET_OFFLOAD
- NET_PROMISCUOUS_MODE

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2021-10-25 10:46:48 +02:00

42 lines
1.3 KiB
Plaintext

# Socket TFTP Library for Zephyr
# Copyright (c) 2020 InnBlue
# SPDX-License-Identifier: Apache-2.0
config TFTP_LIB
bool "Socket TFTP Library Support [EXPERIMENTAL]"
select NET_SOCKETS
select NET_SOCKETS_POSIX_NAMES
select EXPERIMENTAL
help
Enable the Zephyr TFTP Library
if TFTP_LIB
module=TFTP
module-dep=NET_LOG
module-str=Log level for TFTP
module-help=Enables tftp debug messages.
source "subsys/net/Kconfig.template.log_config.net"
config TFTPC_REQUEST_TIMEOUT
int "Maximum amount of time the TFTP Client will wait for a response from the server."
default 5000
help
Maximum amount of time (in msec) that the TFTP Client will wait for
data from the TFTP Server. Once this time has elasped, the TFTP Client
will assume that the Server failed and close the connection.
config TFTPC_REQUEST_RETRANSMITS
int "Number of times the TFTP Client will retransmit the request to the server."
default 5
help
Once the TFTP Client sends out a request, it will wait
TFTPC_REQUEST_TIMEOUT msecs for the data to arrive from the TFTP Server.
However, if it doesn't arrive within the given time we will re-transmit
the request to the server in hopes that the server will respond within
time to this request. This number dictates the number of times we will
do re-tx of our request before giving up and exiting.
endif # TFTP_LIB