mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 10:37:13 +02:00
Update memory usage banner
This commit is contained in:
@ -249,7 +249,7 @@ def CheckUploadSize(_, target, source, env):
|
|||||||
program_size = _calculate_size(output, env.get("SIZEPROGREGEXP"))
|
program_size = _calculate_size(output, env.get("SIZEPROGREGEXP"))
|
||||||
data_size = _calculate_size(output, env.get("SIZEDATAREGEXP"))
|
data_size = _calculate_size(output, env.get("SIZEDATAREGEXP"))
|
||||||
|
|
||||||
print ("Memory Usage -> http://bit.ly/pio-memory-usage")
|
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 ("DATA: %s" % _format_availale_bytes(data_size, data_max_size))
|
print ("DATA: %s" % _format_availale_bytes(data_size, data_max_size))
|
||||||
if program_size > -1:
|
if program_size > -1:
|
||||||
|
Reference in New Issue
Block a user