mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
check_sizes.py: Fix bootloader size message in build log
Closes https://github.com/espressif/esp-idf/pull/7506
This commit is contained in:
parent
5f38b766a8
commit
c098dce1e5
@ -64,7 +64,7 @@ def check_bootloader(partition_table_offset, bootloader_offset, binary_file): #
|
|||||||
_fail(msg)
|
_fail(msg)
|
||||||
free_size = max_size - bootloader_size
|
free_size = max_size - bootloader_size
|
||||||
print('Bootloader binary size {:#x} bytes. {:#x} bytes ({}%) free.'.format(
|
print('Bootloader binary size {:#x} bytes. {:#x} bytes ({}%) free.'.format(
|
||||||
bootloader_size, free_size, round(free_size * 100 / bootloader_size)))
|
bootloader_size, free_size, round(free_size * 100 / max_size)))
|
||||||
|
|
||||||
|
|
||||||
def check_partition(ptype, subtype, partition_table_file, bin_file): # type: (str, str, io.IOBase, IO) -> None
|
def check_partition(ptype, subtype, partition_table_file, bin_file): # type: (str, str, io.IOBase, IO) -> None
|
||||||
|
Loading…
Reference in New Issue
Block a user