#
# Copyright (c) 2020 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic
#

# Disable default configs
CONFIG_BT=n


# Build
CONFIG_SIZE_OPTIMIZATIONS=y

# Boot
CONFIG_BOOT_BANNER=n
CONFIG_BOOT_DELAY=0

# Disable asserts to save ~28kB ROM
CONFIG_ASSERT=n

# Disable logging to save ~11kB ROM
CONFIG_LOG=n
CONFIG_NET_LOG=n
CONFIG_NET_STATISTICS=n
CONFIG_OPENTHREAD_DEBUG=n
CONFIG_OPENTHREAD_L2_DEBUG=n
# Configure sample logging setting
CONFIG_COAP_CLIENT_LOG_LEVEL_DBG=n
CONFIG_COAP_CLIENT_UTILS_LOG_LEVEL_DBG=n
CONFIG_COAP_UTILS_LOG_LEVEL_DBG=n
# Configure sample logging setting


# Network shell
CONFIG_NET_SHELL=y
CONFIG_OPENTHREAD_SHELL=y

# Configurations set based on thread analyzer output.
CONFIG_OPENTHREAD_THREAD_STACK_SIZE=4096
CONFIG_NET_CONNECTION_MANAGER_STACK_SIZE=256
CONFIG_NET_RX_STACK_SIZE=512
CONFIG_NET_TX_STACK_SIZE=256
CONFIG_NET_MGMT_EVENT_STACK_SIZE=256
CONFIG_IEEE802154_NRF5_RX_STACK_SIZE=512
CONFIG_MPSL_SIGNAL_STACK_SIZE=640
CONFIG_IDLE_STACK_SIZE=128
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_ISR_STACK_SIZE=1024


#CONFIG_SHELL_STACK_SIZE=2048

CONFIG_NCS_SAMPLES_DEFAULTS=n

