Skip to content

Commit ea70511

Browse files
joerchancarlescufi
authored andcommitted
tfm: Print memory usage of TF-M built executables
Print the memory usage of TF-M built executables during build. This is defaulting to OFF because we have CONFIG_TFM_BUILD_LOG_QUIET set to ON. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
1 parent 760d158 commit ea70511

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/trusted-firmware-m/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ if (CONFIG_BUILD_WITH_TFM)
311311
-DCMAKE_BUILD_TYPE=${TFM_CMAKE_BUILD_TYPE}
312312
-DTFM_PLATFORM=${CONFIG_TFM_BOARD}
313313
-DCONFIG_TFM_BUILD_LOG_QUIET=ON
314+
-DCONFIG_TFM_MEMORY_USAGE_QUIET=OFF
314315
${TFM_CMAKE_ARGS}
315316
$<GENEX_EVAL:$<TARGET_PROPERTY:zephyr_property_target,TFM_CMAKE_OPTIONS>>
316317
-DMBEDCRYPTO_PATH=$<IF:$<BOOL:$<TARGET_PROPERTY:zephyr_property_target,TFM_MBEDCRYPTO_PATH>>,$<TARGET_PROPERTY:zephyr_property_target,TFM_MBEDCRYPTO_PATH>,${ZEPHYR_MBEDTLS_MODULE_DIR}>

0 commit comments

Comments
 (0)