-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: net: echo_client: Decrease SRAM for atsamr21_xpro
This update the echo_client configurations for the atsamr21_xpro board to match same configs defined at echo_server. Signed-off-by: Gerson Fernando Budke <[email protected]>
- Loading branch information
Showing
1 changed file
with
18 additions
and
10 deletions.
There are no files selected for viewing
28 changes: 18 additions & 10 deletions
28
samples/net/sockets/echo_client/boards/atsamr21_xpro.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,31 @@ | ||
# | ||
# Copyright (c) 2020-2021, Gerson Fernando Budke | ||
# Copyright (c) 2019, Benjamin Valentin | ||
# Copyright (c) 2020-2023, Gerson Fernando Budke | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
# Reduced buffers to fit into SAMR21 SoC | ||
# Reduced configs to fit into SAMR21 SoC | ||
CONFIG_CPP=n | ||
|
||
CONFIG_NET_PKT_RX_COUNT=6 | ||
CONFIG_NET_PKT_TX_COUNT=6 | ||
CONFIG_NET_BUF_RX_COUNT=6 | ||
CONFIG_NET_BUF_TX_COUNT=6 | ||
CONFIG_NET_MAX_CONTEXTS=4 | ||
CONFIG_NET_PKT_RX_COUNT=5 | ||
CONFIG_NET_PKT_TX_COUNT=5 | ||
CONFIG_NET_BUF_RX_COUNT=5 | ||
CONFIG_NET_BUF_TX_COUNT=5 | ||
CONFIG_NET_MAX_CONTEXTS=2 | ||
CONFIG_NET_MAX_CONN=1 | ||
CONFIG_NET_MAX_ROUTES=1 | ||
CONFIG_NET_MAX_NEXTHOPS=1 | ||
|
||
CONFIG_SHELL_STACK_SIZE=768 | ||
CONFIG_SHELL_CMD_BUFF_SIZE=64 | ||
CONFIG_SHELL_STACK_SIZE=384 | ||
CONFIG_SHELL_CMD_BUFF_SIZE=16 | ||
CONFIG_SHELL_ARGC_MAX=6 | ||
CONFIG_SHELL_HISTORY_BUFFER=64 | ||
CONFIG_SHELL_HISTORY_BUFFER=4 | ||
|
||
CONFIG_LOG_MODE_MINIMAL=y | ||
CONFIG_NET_IP_DSCP_ECN=n | ||
CONFIG_NET_STATISTICS=n | ||
CONFIG_NET_MGMT_EVENT_STACK_SIZE=384 | ||
CONFIG_IEEE802154_RF2XX_RX_STACK_SIZE=384 | ||
|
||
CONFIG_UART_USE_RUNTIME_CONFIGURE=n |