Skip to content

Commit

Permalink
[nrfconnect] Added some code size optimization for all-clusters-app (#…
Browse files Browse the repository at this point in the history
…19949)

All-clusters-app's size became too big and started not to fit
the size of the application partition. Because of that,
we performed some optimization and disabled adding asserts
to the output code.
  • Loading branch information
ArekBalysNordic authored and pull[bot] committed Jul 21, 2023
1 parent b4ecb1a commit d373d5d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/all-clusters-app/nrfconnect/prj_dfu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,9 @@ CONFIG_CHIP_PROJECT_CONFIG="main/include/CHIPProjectConfig.h"

# CHIP PID: 32769 == 0x8001 (all-clusters-app)
CONFIG_CHIP_DEVICE_PRODUCT_ID=32769

# reduce application size by disabling including assertions in the output file.
CONFIG_ASSERT_VERBOSE=n
CONFIG_ASSERT_NO_FILE_INFO=y
CONFIG_ASSERT_NO_COND_INFO=y
CONFIG_ASSERT_NO_MSG_INFO=y

0 comments on commit d373d5d

Please sign in to comment.