Skip to content

Commit 1ab2b46

Browse files
omkar3141nordicjm
authored andcommitted
Samples: Bluetooth: Mesh: Disable Friend on 52DK
This disables the Friend feature when sample is compiled on 52DK to save some RAM. Friendship is optional feature and not needed by BLCNLC Profile, which is demonstrated in this sample. Signed-off-by: Omkar Kulkarni <[email protected]>
1 parent 7f3e23e commit 1ab2b46

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,13 @@ Bluetooth samples
338338

339339
* Added reconnection to bonded devices based on their address.
340340

341+
Bluetooth Mesh samples
342+
----------------------
343+
344+
* :ref:`bluetooth_mesh_light_lc` sample:
345+
346+
* Disabled the Friend feature when the sample is compiled for the :ref:`zephyr:nrf52dk_nrf52832` board target to increase the amount of RAM available for the application.
347+
341348
Bluetooth Fast Pair samples
342349
---------------------------
343350

samples/bluetooth/mesh/light_ctrl/README.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,15 @@ Configuration
167167

168168
|config|
169169

170-
|nrf5340_mesh_sample_note|
170+
.. tabs::
171+
172+
.. group-tab:: nRF52 DK (nRF52832)
173+
174+
Due to limited RAM on the nRF52832 device, the Friend feature is disabled for this DK.
175+
176+
.. group-tab:: nRF53 DKs
177+
178+
|nrf5340_mesh_sample_note|
171179

172180
The Kconfig option :kconfig:option:`CONFIG_BT_MESH_LIGHT_CTRL_REG_SPEC` is set by default as it is necessary for the :ref:`bt_mesh_light_ctrl_srv_readme` model according to the `Bluetooth Mesh model specification`_.
173181
The option enables a separate module called illuminance regulator.

samples/bluetooth/mesh/light_ctrl/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_MESH_FRIEND=n

0 commit comments

Comments
 (0)