Skip to content

Commit 78fc713

Browse files
Add 'show_size' option to target.json file to print build size info. (#372)
As implemented in: - lancaster-university/microbit-v2-samples#81
1 parent 7197022 commit 78fc713

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

target-locked.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
"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",
7373
"post_process": "",
7474
"processor": "NRF52833",
75+
"show_size": true,
7576
"snapshot_version": "v0.2.69",
7677
"toolchain": "ARM_GCC"
7778
}

target.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"post_process":"",
77
"generate_bin":true,
88
"generate_hex":true,
9+
"show_size":true,
910
"config":{
1011
"MBED_CONF_NORDIC_NRF_LF_CLOCK_SRC": "NRF_LF_SRC_XTAL",
1112
"CONFIG_GPIO_AS_PINRESET": 1,

0 commit comments

Comments
 (0)