Skip to content

Commit a0b29ca

Browse files
authored
[skip changelog] Update links to troubleshooting guides in sketch overmem error messages (#1197)
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. 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.
1 parent 7eba450 commit a0b29ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

legacy/builder/constants/constants.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ const MSG_SETTING_BUILD_PATH = "Setting build path to {0}"
110110
const MSG_SIZER_TEXT_FULL = "Sketch uses {0} bytes ({2}%%) of program storage space. Maximum is {1} bytes."
111111
const MSG_SIZER_DATA_FULL = "Global variables use {0} bytes ({2}%%) of dynamic memory, leaving {3} bytes for local variables. Maximum is {1} bytes."
112112
const MSG_SIZER_DATA = "Global variables use {0} bytes of dynamic memory."
113-
const MSG_SIZER_TEXT_TOO_BIG = "Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it."
114-
const MSG_SIZER_DATA_TOO_BIG = "Not enough memory; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing your footprint."
113+
const MSG_SIZER_TEXT_TOO_BIG = "Sketch too big; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing it."
114+
const MSG_SIZER_DATA_TOO_BIG = "Not enough memory; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing your footprint."
115115
const MSG_SIZER_LOW_MEMORY = "Low memory available, stability problems may occur."
116116
const MSG_SIZER_ERROR_NO_RULE = "Couldn't determine program size"
117117
const MSG_SKETCH_CANT_BE_IN_BUILDPATH = "Sketch cannot be located in build path. Please specify a different build path"

0 commit comments

Comments
 (0)