CONFIG_PM=y
CONFIG_PM_DEVICE=y
CONFIG_PINCTRL=y
CONFIG_EVENTS=y

# Enable the UART driver
#CONFIG_UART_ASYNC_API=y
CONFIG_NRFX_UARTE0=y
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_CONSOLE=y
#CONFIG_UART_CONSOLE=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
#fpu
CONFIG_FPU=y
CONFIG_NEWLIB_LIBC=y
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y

# Enable the BLE stack with GATT Client configuration
CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_SMP=y
CONFIG_BT_GATT_CLIENT=y
CONFIG_BT_PRIVACY=n
CONFIG_BT_MAX_CONN=20
CONFIG_BT_MAX_PAIRED=20
CONFIG_BT_DEVICE_NAME="CB"
CONFIG_BT_DEVICE_APPEARANCE=832
CONFIG_BT_CTLR_SDC_PERIPHERAL_COUNT=1
# Enable the BLE modules from NCS
CONFIG_BT_NUS_CLIENT=y
CONFIG_BT_NUS=y
CONFIG_BT_SCAN=y
CONFIG_BT_SCAN_FILTER_ENABLE=y
CONFIG_BT_SCAN_UUID_CNT=1
CONFIG_BT_GATT_DM=y
CONFIG_HEAP_MEM_POOL_SIZE=8096

# This example requires more workqueue stack
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=6000
CONFIG_MAIN_STACK_SIZE=6000

#memory
CONFIG_STDOUT_CONSOLE=y
CONFIG_SPI=y
CONFIG_NORDIC_QSPI_NOR=y

# Enable bonding
CONFIG_BT_SETTINGS=y
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS=y

# Enable ADC
CONFIG_ADC=y
CONFIG_MODULE_BATTERY=y

# Config logger
CONFIG_LOG=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_BACKEND_UART=n

CONFIG_GPIO_AS_PINRESET=y
CONFIG_ASSERT=y

#FIRMWARE config
CONFIG_APP_WAIT_REQUEST=y
CONFIG_APP_DISABLE_LTE_AUTOMATIC_SWITCH=y


CONFIG_BT_USER_DATA_LEN_UPDATE=y
CONFIG_BT_USER_PHY_UPDATE=y

CONFIG_BT_BUF_ACL_RX_SIZE=251
CONFIG_BT_ATT_PREPARE_COUNT=2
CONFIG_BT_L2CAP_TX_MTU=247
CONFIG_BT_BUF_ACL_TX_COUNT=10
CONFIG_BT_BUF_ACL_TX_SIZE=251
#CONFIG_BT_CTLR_PRIVACY=n

CONFIG_NFCT_PINS_AS_GPIOS=y
CONFIG_PWM=y

CONFIG_SECURE_BOOT=y
