File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -1633,16 +1633,21 @@ protected void size(PreferencesMap prefs) throws RunnerException {
16331633
16341634 long textSize = sizes [0 ];
16351635 long dataSize = sizes [1 ];
1636+ System .out .println ();
16361637 System .out .println (I18n
1637- .format (_ ("Binary sketch size: {0} bytes (of a {1} byte maximum) - {2}%% used " ),
1638+ .format (_ ("Sketch uses {0} bytes ({2}%%) of program storage space. Maximum is {1} bytes. " ),
16381639 textSize , maxTextSize , textSize * 100 / maxTextSize ));
16391640 if (dataSize >= 0 ) {
16401641 if (maxDataSize > 0 ) {
1641- System .out .println (I18n .format (
1642- _ ("Minimum Memory usage: {0} bytes (of a {1} byte maximum) - {2}%% used" ),
1643- dataSize , maxDataSize , dataSize * 100 / maxDataSize ));
1642+ System .out
1643+ .println (I18n
1644+ .format (
1645+ _ ("Global variables use {0} bytes ({2}%%) of dynamic memory, leaving {3} bytes for local variables. Maximum is {1} bytes." ),
1646+ dataSize , maxDataSize , dataSize * 100 / maxDataSize ,
1647+ maxDataSize - dataSize ));
16441648 } else {
1645- System .out .println (I18n .format (_ ("Minimum Memory usage: {0} bytes" ), dataSize ));
1649+ System .out .println (I18n
1650+ .format (_ ("Global variables use {0} bytes of dynamic memory." ), dataSize ));
16461651 }
16471652 }
16481653
You can’t perform that action at this time.
0 commit comments