#
# Copyright (c) 2019 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic
#
# General config
CONFIG_ASSERT=y

# Logging
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_LOG=n

# Stacks and heaps
CONFIG_MAIN_STACK_SIZE=16384
CONFIG_HEAP_MEM_POOL_SIZE=16384

# I2C
CONFIG_I2C=y

# Enable the I2C Slave driver (TWIS) for instance 1
CONFIG_I2C_NRFX=y
CONFIG_NRFX_TWIS1=y

#CONFIG_I2C_SLAVE_NRFX_TWIS=y
# Disable the Master driver (TWIM) for instance 1 to avoid conflicts
CONFIG_NRFX_TWIM1=n


# Rebooot
CONFIG_REBOOT=n
CONFIG_RESET_ON_FATAL_ERROR=n
