Skip to content

Commit d4fe0a1

Browse files
committed
Merge branch 'ide-1.5.x' into dev-ide-1.5.x-discovery
Conflicts: build/shared/revisions.txt
2 parents 95d5b1e + 9fc9f40 commit d4fe0a1

File tree

4 files changed

+23
-7
lines changed

4 files changed

+23
-7
lines changed

app/src/processing/app/Sketch.java

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1634,16 +1634,21 @@ protected void size(PreferencesMap prefs) throws RunnerException {
16341634

16351635
long textSize = sizes[0];
16361636
long dataSize = sizes[1];
1637+
System.out.println();
16371638
System.out.println(I18n
1638-
.format(_("Binary sketch size: {0} bytes (of a {1} byte maximum) - {2}%% used"),
1639+
.format(_("Sketch uses {0} bytes ({2}%%) of program storage space. Maximum is {1} bytes."),
16391640
textSize, maxTextSize, textSize * 100 / maxTextSize));
16401641
if (dataSize >= 0) {
16411642
if (maxDataSize > 0) {
1642-
System.out.println(I18n.format(
1643-
_("Minimum Memory usage: {0} bytes (of a {1} byte maximum) - {2}%% used"),
1644-
dataSize, maxDataSize, dataSize * 100 / maxDataSize));
1643+
System.out
1644+
.println(I18n
1645+
.format(
1646+
_("Global variables use {0} bytes ({2}%%) of dynamic memory, leaving {3} bytes for local variables. Maximum is {1} bytes."),
1647+
dataSize, maxDataSize, dataSize * 100 / maxDataSize,
1648+
maxDataSize - dataSize));
16451649
} else {
1646-
System.out.println(I18n.format(_("Minimum Memory usage: {0} bytes"), dataSize));
1650+
System.out.println(I18n
1651+
.format(_("Global variables use {0} bytes of dynamic memory."), dataSize));
16471652
}
16481653
}
16491654

build/shared/revisions.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11

2-
ARDUINO 1.5.4 BETA
2+
ARDUINO 1.5.4 BETA 2013.09.10
33

44
[ide]
55
* Revert to English locale if the system default is not available
6+
* Added support for Arduino Yun
7+
* Autodetect of boards connected to each serial port
8+
* Network upload and discovery for Arduino Yun
69

710
[libraries]
811
* sam: fixed wrong SPI initialization (noblepepper)
912
* updated all instances of Adafruit_GFX to the latest version
13+
* added libraries for Arduino Yun
14+
15+
[core]
16+
* avr: fixed bug introduced with recent optimizations in HardwareSerial (atmega8 cpu) (darryl)
1017

1118
ARDUINO 1.5.3 BETA 2013.08.30
1219

hardware/arduino/avr/boards.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ mega2560.cpu=2560 or ADK
166166
mega2560.upload.tool=avrdude
167167
mega2560.upload.protocol=wiring
168168
mega2560.upload.maximum_size=258048
169+
mega2560.upload.maximum_data_size=8192
169170
mega2560.upload.speed=115200
170171

171172
mega2560.bootloader.tool=avrdude
@@ -190,6 +191,7 @@ mega.cpu=ATmega1280
190191
mega.upload.tool=avrdude
191192
mega.upload.protocol=arduino
192193
mega.upload.maximum_size=126976
194+
mega.upload.maximum_data_size=8192
193195
mega.upload.speed=57600
194196

195197
mega.bootloader.tool=avrdude
@@ -460,6 +462,7 @@ LilyPadUSB.bootloader.extended_fuses=0xce
460462
LilyPadUSB.bootloader.file=caterina-LilyPadUSB/Caterina-LilyPadUSB.hex
461463
LilyPadUSB.bootloader.unlock_bits=0x3F
462464
LilyPadUSB.bootloader.lock_bits=0x2F
465+
463466
LilyPadUSB.build.mcu=atmega32u4
464467
LilyPadUSB.build.f_cpu=8000000L
465468
LilyPadUSB.build.vid=0x1B4F
@@ -632,6 +635,7 @@ atmegang.menu.cpu.atmega168.build.mcu=atmega168
632635
atmegang.menu.cpu.atmega8=ATmega8
633636

634637
atmegang.menu.cpu.atmega8.upload.maximum_size=7168
638+
atmegang.menu.cpu.atmega8.upload.maximum_data_size=1024
635639

636640
atmegang.menu.cpu.atmega8.bootloader.low_fuses=0xdf
637641
atmegang.menu.cpu.atmega8.bootloader.high_fuses=0xca

hardware/arduino/avr/cores/arduino/HardwareSerial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ inline void store_char(unsigned char c, HardwareSerial *s)
9191
#elif defined(UDR)
9292
if (bit_is_clear(UCSRA, PE)) {
9393
unsigned char c = UDR;
94-
store_char(c, &rx_buffer);
94+
store_char(c, &Serial);
9595
} else {
9696
unsigned char c = UDR;
9797
};

0 commit comments

Comments
 (0)