From 59fb1f73861f8d66f1c9c168d0d5ab0c7a834319 Mon Sep 17 00:00:00 2001 From: Carlos Pereira Atencio Date: Fri, 8 Sep 2023 13:36:00 +0100 Subject: [PATCH] Add 'show_size' option to target.json file to print build size info. --- target-locked.json | 1 + target.json | 1 + 2 files changed, 2 insertions(+) diff --git a/target-locked.json b/target-locked.json index d99569dd..878131da 100644 --- a/target-locked.json +++ b/target-locked.json @@ -71,6 +71,7 @@ "linker_flags": "-Wl,--no-wchar-size-warning -Wl,--gc-sections -Wl,--wrap,atexit -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -Wl,--start-group -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -Wl,--end-group", "post_process": "", "processor": "NRF52833", + "show_size": true, "snapshot_version": "v0.2.59", "toolchain": "ARM_GCC" } \ No newline at end of file diff --git a/target.json b/target.json index 32981b8b..dfac0de1 100644 --- a/target.json +++ b/target.json @@ -6,6 +6,7 @@ "post_process":"", "generate_bin":true, "generate_hex":true, + "show_size":true, "config":{ "MBED_CONF_NORDIC_NRF_LF_CLOCK_SRC": "NRF_LF_SRC_XTAL",