Bluetooth: Mesh: Reduce microbit memory consumption

Trims the default memory configuration for the BBC Microbit in mesh
samples to ensure that it fits.

Signed-off-by: Trond Einar Snekvik <Trond.Einar.Snekvik@nordicsemi.no>
This commit is contained in:
Trond Einar Snekvik 2020-08-26 11:55:34 +02:00 committed by Johan Hedberg
parent 3c8e5b0e1c
commit db0e559b74
3 changed files with 7 additions and 4 deletions

View file

@ -3,7 +3,7 @@ CONFIG_ISR_STACK_SIZE=768
CONFIG_MAIN_STACK_SIZE=512
CONFIG_DISPLAY=y
CONFIG_MICROBIT_DISPLAY=y
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1536
CONFIG_GPIO=y
CONFIG_BT_SETTINGS=y
@ -34,8 +34,9 @@ CONFIG_BT_CTLR_PRIVACY=n
CONFIG_BT_MESH=y
CONFIG_BT_MESH_ADV_BUF_COUNT=3
CONFIG_BT_MESH_SEG_BUFS=6
CONFIG_BT_MESH_SEG_BUFS=3
CONFIG_BT_MESH_RELAY=y
CONFIG_BT_MESH_LOOPBACK_BUFS=1
#CONFIG_BT_MESH_LOW_POWER=y
#CONFIG_BT_MESH_SELF_TEST=y

View file

@ -21,7 +21,8 @@ CONFIG_BT_MESH_SEG_BUFS=6
CONFIG_BT_MESH_SUBNET_COUNT=1
CONFIG_BT_MESH_APP_KEY_COUNT=2
CONFIG_BT_MESH_MODEL_GROUP_COUNT=2
CONFIG_BT_MESH_ADV_BUF_COUNT=7
CONFIG_BT_MESH_ADV_BUF_COUNT=3
CONFIG_BT_MESH_LOOPBACK_BUFS=1
CONFIG_BT_MESH_PB_ADV=n
CONFIG_BT_MESH_CFG_CLI=y

View file

@ -29,7 +29,8 @@ CONFIG_BT_CTLR_ADVANCED_FEATURES=y
CONFIG_BT_CTLR_FILTER=n
CONFIG_BT_MESH=y
CONFIG_BT_MESH_ADV_BUF_COUNT=3
CONFIG_BT_MESH_ADV_BUF_COUNT=1
CONFIG_BT_MESH_LOOPBACK_BUFS=1
CONFIG_BT_MESH_SEG_BUFS=6
#CONFIG_BT_MESH_LOW_POWER=y