Skip to content

Commit

Permalink
Samples: Bluetooth: Mesh: Disable Friend on 52DK
Browse files Browse the repository at this point in the history
This disables 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]>
  • Loading branch information
omkar3141 committed Feb 26, 2025
1 parent d192307 commit efdc4c1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion samples/bluetooth/mesh/light_ctrl/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,15 @@ Configuration

|config|

|nrf5340_mesh_sample_note|
.. tabs::

.. group-tab:: nRF52 DK (nRF52832)

Due to limited RAM on nRF52832, the friend feature is not enabled by default.

.. group-tab:: nRF53 DKs

|nrf5340_mesh_sample_note|

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`_.
The option enables a separate module called illuminance regulator.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
# Application overlay - nrf52dk_nrf52832

CONFIG_SOC_FLASH_NRF_PARTIAL_ERASE=n
CONFIG_BT_MESH_FRIEND=n

0 comments on commit efdc4c1

Please sign in to comment.