Skip to content

Commit

Permalink
applications: matter_bridge: Increase heap size
Browse files Browse the repository at this point in the history
Increase heap size to accommodate the memory required for additional
bridged devices.

Signed-off-by: Łukasz Duda <[email protected]>
  • Loading branch information
LuDuda authored and rlubos committed Nov 7, 2024
1 parent c98bffa commit de74230
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions applications/matter_bridge/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,6 @@ CONFIG_CHIP_FACTORY_DATA_BUILD=y
# Enable LTO to decrease the flash usage.
CONFIG_LTO=y
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y

# Increase heap size to accommodate the memory required for additional bridged devices.
CONFIG_CHIP_MALLOC_SYS_HEAP_SIZE=16384
3 changes: 3 additions & 0 deletions applications/matter_bridge/prj_release.conf
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@ CONFIG_CHIP_ENABLE_READ_CLIENT=y

# Enable Watchdog
CONFIG_NCS_SAMPLE_MATTER_WATCHDOG=y

# Increase heap size to accommodate the memory required for additional bridged devices.
CONFIG_CHIP_MALLOC_SYS_HEAP_SIZE=16384

0 comments on commit de74230

Please sign in to comment.