mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Rename Data/Flash to RAM/ROM
This commit is contained in:
@ -163,9 +163,9 @@ def PrintConfiguration(env): # pylint: disable=too-many-statements
|
||||
if not board_config:
|
||||
return data
|
||||
ram = board_config.get("upload", {}).get("maximum_ram_size")
|
||||
flash = board_config.get("upload", {}).get("maximum_size")
|
||||
rom = board_config.get("upload", {}).get("maximum_size")
|
||||
data.append(
|
||||
"%s RAM, %s Flash" % (fs.format_filesize(ram), fs.format_filesize(flash))
|
||||
"%s RAM, %s ROM" % (fs.format_filesize(ram), fs.format_filesize(rom))
|
||||
)
|
||||
return data
|
||||
|
||||
|
@ -251,9 +251,9 @@ def CheckUploadSize(_, target, source, env):
|
||||
|
||||
print('Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"')
|
||||
if data_max_size and data_size > -1:
|
||||
print("DATA: %s" % _format_availale_bytes(data_size, data_max_size))
|
||||
print("RAM: %s" % _format_availale_bytes(data_size, data_max_size))
|
||||
if program_size > -1:
|
||||
print("PROGRAM: %s" % _format_availale_bytes(program_size, program_max_size))
|
||||
print("ROM: %s" % _format_availale_bytes(program_size, program_max_size))
|
||||
if int(ARGUMENTS.get("PIOVERBOSE", 0)):
|
||||
print(output)
|
||||
|
||||
|
Reference in New Issue
Block a user