forked from platformio/platformio-core
Revert back "Flash" instead of "ROM"
This commit is contained in:
@ -163,9 +163,9 @@ def PrintConfiguration(env): # pylint: disable=too-many-statements
|
|||||||
if not board_config:
|
if not board_config:
|
||||||
return data
|
return data
|
||||||
ram = board_config.get("upload", {}).get("maximum_ram_size")
|
ram = board_config.get("upload", {}).get("maximum_ram_size")
|
||||||
rom = board_config.get("upload", {}).get("maximum_size")
|
flash = board_config.get("upload", {}).get("maximum_size")
|
||||||
data.append(
|
data.append(
|
||||||
"%s RAM, %s ROM" % (fs.format_filesize(ram), fs.format_filesize(rom))
|
"%s RAM, %s Flash" % (fs.format_filesize(ram), fs.format_filesize(flash))
|
||||||
)
|
)
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
@ -251,9 +251,9 @@ def CheckUploadSize(_, target, source, env):
|
|||||||
|
|
||||||
print('Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"')
|
print('Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"')
|
||||||
if data_max_size and data_size > -1:
|
if data_max_size and data_size > -1:
|
||||||
print("RAM: %s" % _format_availale_bytes(data_size, data_max_size))
|
print("RAM: %s" % _format_availale_bytes(data_size, data_max_size))
|
||||||
if program_size > -1:
|
if program_size > -1:
|
||||||
print("ROM: %s" % _format_availale_bytes(program_size, program_max_size))
|
print("Flash: %s" % _format_availale_bytes(program_size, program_max_size))
|
||||||
if int(ARGUMENTS.get("PIOVERBOSE", 0)):
|
if int(ARGUMENTS.get("PIOVERBOSE", 0)):
|
||||||
print(output)
|
print(output)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user