Skip to content

Commit e8e8efd

Browse files
committed
finalize formatting of reported sketch size
1 parent ca35560 commit e8e8efd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/common.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function print_size_info()
55
elf_file=$1
66

77
if [ -z "$elf_file" ]; then
8-
printf "sketch iram0.text flash.text flash.rodata irom0.text dram0.data dram0.bss dram flash\n"
8+
printf "sketch iram0.text flash.text flash.rodata dram0.data dram0.bss dram flash\n"
99
return 0
1010
fi
1111

@@ -25,7 +25,7 @@ function print_size_info()
2525

2626
total_ram=$((${segments[dram0data]} + ${segments[dram0bss]}))
2727
total_flash=$((${segments[iram0text]} + ${segments[flashtext]} + ${segments[dram0data]} + ${segments[flashrodata]}))
28-
printf "%-28s %-8d %-8d %-8d %-8d %-8d %-8d %-8d %-8d\n" $sketch_name ${segments[iram0text]} ${segments[flashtext]} ${segments[flashrodata]} ${segments[dram0data]} ${segments[dram0bss]} $total_ram $total_flash
28+
printf "%-28s %-8d %-8d %-8d %-8d %-8d %-8d %-8d\n" $sketch_name ${segments[iram0text]} ${segments[flashtext]} ${segments[flashrodata]} ${segments[dram0data]} ${segments[dram0bss]} $total_ram $total_flash
2929
return 0
3030
}
3131

0 commit comments

Comments
 (0)