Skip to content

Commit 92ce873

Browse files
committed
samples: bluetooth: mesh: fix overflow on nrf52dk/nrf52832
At revision 3f1c9b9 the builds still had CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE equal to 58, but something made it change to 255 which increases the RAM usage by 4kB and results in overflows on this board target. Explicitly set the value back to 58 to avoid overflows. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
1 parent b6a05fd commit 92ce873

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

samples/bluetooth/mesh/ble_peripheral_lbs_coex/boards/nrf52dk_nrf52832.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
# Application overlay - nrf52dk_nrf52832
88

99
CONFIG_SOC_FLASH_NRF_PARTIAL_ERASE=n
10+
CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=58

samples/bluetooth/mesh/chat/boards/nrf52dk_nrf52832.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
# Application overlay - nrf52dk_nrf52832
88

99
CONFIG_SOC_FLASH_NRF_PARTIAL_ERASE=n
10+
CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=58

samples/bluetooth/mesh/light_ctrl/boards/nrf52dk_nrf52832.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88

99
CONFIG_SOC_FLASH_NRF_PARTIAL_ERASE=n
1010
CONFIG_BT_MESH_FRIEND=n
11+
CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=58

samples/bluetooth/mesh/sensor_server/boards/nrf52dk_nrf52832.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
# Application overlay - nrf52dk_nrf52832
88

99
CONFIG_SOC_FLASH_NRF_PARTIAL_ERASE=n
10+
CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=58

0 commit comments

Comments
 (0)