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:
parent
3c8e5b0e1c
commit
db0e559b74
|
@ -3,7 +3,7 @@ CONFIG_ISR_STACK_SIZE=768
|
||||||
CONFIG_MAIN_STACK_SIZE=512
|
CONFIG_MAIN_STACK_SIZE=512
|
||||||
CONFIG_DISPLAY=y
|
CONFIG_DISPLAY=y
|
||||||
CONFIG_MICROBIT_DISPLAY=y
|
CONFIG_MICROBIT_DISPLAY=y
|
||||||
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
|
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1536
|
||||||
CONFIG_GPIO=y
|
CONFIG_GPIO=y
|
||||||
|
|
||||||
CONFIG_BT_SETTINGS=y
|
CONFIG_BT_SETTINGS=y
|
||||||
|
@ -34,8 +34,9 @@ CONFIG_BT_CTLR_PRIVACY=n
|
||||||
|
|
||||||
CONFIG_BT_MESH=y
|
CONFIG_BT_MESH=y
|
||||||
CONFIG_BT_MESH_ADV_BUF_COUNT=3
|
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_RELAY=y
|
||||||
|
CONFIG_BT_MESH_LOOPBACK_BUFS=1
|
||||||
#CONFIG_BT_MESH_LOW_POWER=y
|
#CONFIG_BT_MESH_LOW_POWER=y
|
||||||
|
|
||||||
#CONFIG_BT_MESH_SELF_TEST=y
|
#CONFIG_BT_MESH_SELF_TEST=y
|
||||||
|
|
|
@ -21,7 +21,8 @@ CONFIG_BT_MESH_SEG_BUFS=6
|
||||||
CONFIG_BT_MESH_SUBNET_COUNT=1
|
CONFIG_BT_MESH_SUBNET_COUNT=1
|
||||||
CONFIG_BT_MESH_APP_KEY_COUNT=2
|
CONFIG_BT_MESH_APP_KEY_COUNT=2
|
||||||
CONFIG_BT_MESH_MODEL_GROUP_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_PB_ADV=n
|
||||||
CONFIG_BT_MESH_CFG_CLI=y
|
CONFIG_BT_MESH_CFG_CLI=y
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,8 @@ CONFIG_BT_CTLR_ADVANCED_FEATURES=y
|
||||||
CONFIG_BT_CTLR_FILTER=n
|
CONFIG_BT_CTLR_FILTER=n
|
||||||
|
|
||||||
CONFIG_BT_MESH=y
|
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_SEG_BUFS=6
|
||||||
|
|
||||||
#CONFIG_BT_MESH_LOW_POWER=y
|
#CONFIG_BT_MESH_LOW_POWER=y
|
||||||
|
|
Loading…
Reference in a new issue