Skip to content

Commit

Permalink
prj.conf: Fix full modem FOTA
Browse files Browse the repository at this point in the history
Fix full modem FOTA

Signed-off-by: Simen S. Røstad <[email protected]>
  • Loading branch information
simensrostad committed Oct 23, 2024
1 parent a63ffd2 commit b6ac9ec
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,16 @@ 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
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
Expand Down Expand Up @@ -110,17 +109,19 @@ 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
# COAP client
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
Expand Down

0 comments on commit b6ac9ec

Please sign in to comment.