Skip to content

Commit

Permalink
[nrfconnect] Fixed an assert when trying to start DFU over BLE on nRF…
Browse files Browse the repository at this point in the history
…52 (project-chip#10347)

There is a bug that leads to assert when trying to start Device
Firmware Upgrade over BLE on nRF52.

Increased MCUMGR_BUF_SIZE to 1024 B from default 384 B
to fit the BT MAX MTU size + transport overhead
  • Loading branch information
kkasperczyk-no authored and mrjerryjohns committed Oct 11, 2021
1 parent 05bdd30 commit 893fc08
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/nrfconnect/app/overlay-single_image_dfu_support.conf
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,8 @@ CONFIG_MCUMGR_BUF_COUNT=6
CONFIG_BT_L2CAP_TX_MTU=498
CONFIG_BT_BUF_ACL_RX_SIZE=502

# Increase MCUMGR_BUF_SIZE, as it must be big enough to fit MAX MTU + overhead and for single-image DFU default is 384 B
CONFIG_MCUMGR_BUF_SIZE=1024

# Increase system workqueue size, as SMP is processed within it
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2800

0 comments on commit 893fc08

Please sign in to comment.