From b6ac9ec38bbf847ef2ae78b19d5ff8383f109906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simen=20S=2E=20R=C3=B8stad?= Date: Wed, 23 Oct 2024 14:45:04 +0200 Subject: [PATCH] prj.conf: Fix full modem FOTA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix full modem FOTA Signed-off-by: Simen S. Røstad --- app/prj.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/prj.conf b/app/prj.conf index 95699168..81a2d735 100644 --- a/app/prj.conf +++ b/app/prj.conf @@ -11,7 +11,6 @@ CONFIG_LOG_MODE_DEFERRED=y CONFIG_LOG_BUFFER_SIZE=4096 CONFIG_DK_LIBRARY=y CONFIG_ZVFS_OPEN_MAX=10 -# CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=3808 ? CONFIG_PWM=y # Heap and stacks @@ -19,9 +18,9 @@ CONFIG_MAIN_STACK_SIZE=4096 # Extended AT host/monitor stack/heap sizes since some nrf_cloud credentials are longer than 1024 bytes. CONFIG_AT_MONITOR_HEAP_SIZE=2048 # Wifi scan requires extended heap size -CONFIG_HEAP_MEM_POOL_SIZE=40000 +CONFIG_HEAP_MEM_POOL_SIZE=20000 CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y -CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1280 +CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1600 # Enable Networking and Connection Manager. CONFIG_NETWORKING=y @@ -110,9 +109,11 @@ CONFIG_MPU_ALLOW_FLASH_WRITE=y CONFIG_NRF_CLOUD_LOG_DIRECT=n CONFIG_NRF_CLOUD_LOG_OUTPUT_LEVEL=3 CONFIG_NRF_CLOUD_FOTA_POLL=y +CONFIG_NRF_CLOUD_FOTA_POLL_LOG_LEVEL_DBG=y CONFIG_NRF_CLOUD_FOTA_FULL_MODEM_UPDATE=y CONFIG_NRF_CLOUD_FOTA_DOWNLOAD_FRAGMENT_SIZE=1700 CONFIG_FOTA_DOWNLOAD=y +CONFIG_FOTA_DOWNLOAD_PROGRESS_EVT=y CONFIG_FOTA_DL_TIMEOUT_MIN=30 CONFIG_DFU_TARGET=y CONFIG_BUILD_S1_VARIANT=y @@ -120,7 +121,7 @@ CONFIG_BUILD_S1_VARIANT=y CONFIG_COAP_CLIENT_THREAD_PRIORITY=0 CONFIG_COAP_CLIENT_BLOCK_SIZE=1024 CONFIG_COAP_CLIENT_MESSAGE_SIZE=1024 -CONFIG_COAP_CLIENT_STACK_SIZE=2048 +CONFIG_COAP_CLIENT_STACK_SIZE=2304 CONFIG_COAP_EXTENDED_OPTIONS_LEN_VALUE=192 # nRF Cloud