Skip to content

Commit 03f5f8a

Browse files
per1234cmaglie
authored andcommitted
Update links to troubleshooting guides in error messages
When the compiled size of a sketch exceeds the available flash or RAM on the board, the error message includes a link to a troubleshooting guide: Sketch uses 16110 bytes (112%) of program storage space. Maximum is 14336 bytes. Global variables use 685 bytes (66%) of dynamic memory, leaving 339 bytes for local variables. Maximum is 1024 bytes. Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it. When an upload fails, the error message includes a link to a troubleshooting guide: Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions. http://www.arduino.cc/en/Guide/Troubleshooting was recently replaced with the Arduino Help Center. Even though that URL redirects to the Help Center, it only goes to the home page, leaving the user to hunt for the relevant article. A better user experience is provided by linking directly to the relevant content in the Help Center.
1 parent ed67cd3 commit 03f5f8a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

arduino-core/src/cc/arduino/Compiler.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ public class Compiler implements MessageConsumer {
101101
tr("Couldn't determine program size: {0}");
102102
tr("Global variables use {0} bytes ({2}%%) of dynamic memory, leaving {3} bytes for local variables. Maximum is {1} bytes.");
103103
tr("Global variables use {0} bytes of dynamic memory.");
104-
tr("Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it.");
105-
tr("Not enough memory; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing your footprint.");
104+
tr("Sketch too big; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing it.");
105+
tr("Not enough memory; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing your footprint.");
106106
tr("Low memory available, stability problems may occur.");
107107
tr("An error occurred while verifying the sketch");
108108
tr("An error occurred while verifying/uploading the sketch");

arduino-core/src/cc/arduino/packages/Uploader.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public void message(String s) {
176176
return;
177177
}
178178
if (StringUtils.containsAny(s, AVRDUDE_PROBLEMS)) {
179-
error = tr("Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.");
179+
error = tr("Problem uploading to board. See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.");
180180
return;
181181
}
182182
if (s.contains("Expected signature")) {

0 commit comments

Comments
 (0)