zephyr/subsys/net/ip/Kconfig.stack
Ulf Magnusson 53c5058d6e net: ip: kconfig: Simplify NET_RX_STACK_RPL definition
A condition can be but on a prompt to make a symbol conditionally
user-assignable (visible).

Kconfig note:

'default's don't care whether the symbol is visible (has a prompt with a
satisfied condition) or not. 'if'/'depends on' just puts the same
condition on all the properties, disabling both the defaults and the
prompt at the same time. That might make it look like they're connected.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-07-16 21:03:27 -04:00

39 lines
1.1 KiB
Plaintext

# Kconfig.stack - Stack usage related options
#
# Copyright (c) 2016 Intel Corporation.
#
# SPDX-License-Identifier: Apache-2.0
#
menu "Stack usage"
config NET_TX_STACK_SIZE
int "TX thread stack size"
default 1200
help
Set the TX thread stack size in bytes. The TX thread is waiting
data from application. Each network interface will start one
TX thread for sending network packets destined to it.
This value is a baseline and the actual TX stack size might
be bigger depending on what features are enabled.
config NET_RX_STACK_SIZE
int "RX thread stack size"
default 1500
help
Set the RX thread stack size in bytes. The RX thread is waiting
data from network. There is one RX thread in the system.
This value is a baseline and the actual RX stack size might
be bigger depending on what features are enabled.
# User-assignable if NET_RPL is enabled, otherwise 0
config NET_RX_STACK_RPL
int "RPL specific RX stack need" if NET_RPL
default 0
default 300 if NET_RPL
help
How much extra RX stack space is required by RPL functionality.
endmenu