Skip to content

Ide support update [HC-1633] #461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Secret keys cannot be recovered if lost. Make sure to save any Device ID and Sec

* If your board isn't detected by the Cloud Editor, see [If your board does not appear in the port menu](https://support.arduino.cc/hc/en-us/articles/4412955149586-If-your-board-does-not-appear-in-the-port-menu).

* If you get an error message when uploading, see [Errors when uploading a sketch](https://support.arduino.cc/hc/en-us/articles/4403365313810-Errors-when-uploading-a-sketch).
* If you get an error message when uploading, see [If your sketch doesn't upload](https://support.arduino.cc/hc/en-us/articles/4403365313810-If-your-sketch-doesn-t-upload).

### "We were not able to configure your device<br>Something went wrong!"

Expand Down
12 changes: 5 additions & 7 deletions content/Custom/Hubs/Cloud-Editor-Support.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,13 @@ id: 9393241841308
<h2 id="h_01HD21Q0JX5MHGQ2WAJD7ZND9B" class="center hub">Troubleshooting</h2>
<div class="info-wrapper">
<div class="info-item">
<img src="https://content.arduino.cc/assets/hc-text-clean.svg">
<p class="info-title">If you get a console error</p>
<img src="https://content.arduino.cc/assets/hc-warning.svg">
<p class="info-title">Can't compile or upload?</p>
<p>
The easiest way to find a solution for a specific error is to copy the
error description from the console, and paste it on the search bar. You
can also read more about:
Issues can occur when compiling or uploading a sketch. If an error message appears in the console, a quick way to find a solution is to copy and paste it into the search bar. Learn how to:
</p>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/4403365313810-Errors-when-uploading-a-sketch">Errors when uploading a sketch</a>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/4402764401554-Compilation-errors-when-uploading">If your sketch doesn’t compile</a>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/4402764401554-If-your-sketch-doesn-t-compile">Fix compilation issues</a>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/4403365313810-If-your-sketch-doesn-t-upload">Fix upload issues</a>
</div>
<div class="info-item">
<img src="https://content.arduino.cc/assets/hc-USB.svg">
Expand Down
98 changes: 50 additions & 48 deletions content/Custom/Hubs/IDE-Support.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ id: 9207690465436
<div class="actions-item">
<a id="keep" href="https://support.arduino.cc/hc/en-us/articles/360019833020-Download-and-install-Arduino-IDE"></a>
<img src="https://content.arduino.cc/assets/hc-download.svg">
<span class="link-chevron-right">Get Arduino IDE</span>
<span class="link-chevron-right">Download Arduino IDE</span>
</div>
<div class="actions-item actions-chevron">
<img src="https://content.arduino.cc/assets/hc-terminal.svg">
<a id="keep" href="https://docs.arduino.cc/software/ide-v2/tutorials/getting-started-ide-v2/"></a>
<span class="link-chevron-right">Get started with Arduino IDE</span>
</div>
<div class="actions-item">
<img src="https://content.arduino.cc/assets/hc-checkmark.svg">
Expand All @@ -19,90 +24,87 @@ id: 9207690465436
<a id="keep" href="https://support.arduino.cc/hc/en-us/articles/4403365287826-Change-the-language-in-Arduino-IDE"></a>
<span class="link-chevron-right">Change language</span>
</div>
<div class="actions-item">
<img src="https://content.arduino.cc/assets/hc-zoom.svg">
<a id="keep" href="https://support.arduino.cc/hc/en-us/articles/4402771781522-Change-text-and-display-size-settings-in-Arduino-IDE"></a>
<span class="link-chevron-right">Change text and display size</span>
</div>
<!--<div class="actions-item">
<img src="https://content.arduino.cc/assets/hc-text_indent.svg">
<a id="keep" href="https://support.arduino.cc/hc/en-us/articles/4406711538450-Enable-autocomplete-in-IDE-2"></a>
<span class="link-chevron-right">Enable autocomplete</span>
</div>-->
</div>
<h2 class="center hub">Troubleshooting</h2>
<div class="info-wrapper">
<div class="info-item">
<img src="https://content.arduino.cc/assets/hc-warning.svg">
<p class="info-title">Errors in the console?</p>
<p class="info-title">Can't compile or upload?</p>
<p>
The easiest way to find a solution for a specific error is to copy the
error description from the console, and paste it on the search bar. You
can also read more about:
Issues can occur when compiling or uploading a sketch. If an error message appears in the console, a quick way to find a solution is to copy and paste it into the search bar. Learn how to:
</p>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/4403365313810-Errors-when-uploading-a-sketch">Errors when uploading a sketch</a>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/4402764401554-Compilation-errors-when-uploading">If your sketch doesn’t compile</a>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/4402764401554-If-your-sketch-doesn-t-compile">Fix compilation issues</a>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/4403365313810-If-your-sketch-doesn-t-upload">Fix upload issues</a>
</div>
<div class="info-item">
<img src="https://content.arduino.cc/assets/hc-USB.svg">
<p class="info-title">Board not detected?</p>
<p>Read more about:</p>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/4412955149586-If-your-board-is-not-detected-by-Arduino-IDE">If your board is not detected by Arduino IDE</a>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/360016495679-Fix-port-access-on-Linux">Fix port access on Linux</a>
<p>Learn what to do if your Arduino board is missing from the board selector or from the <em>Tools > Port</em> menu.</p>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/4412955149586-If-your-board-is-not-detected-by-Arduino-IDE">Fix board detection issues</a>
</div>
<div class="info-item">
<img src="https://content.arduino.cc/assets/hc-hourglass.svg">
<p class="info-title">If the Arduino IDE is unresponsive</p>
<p>
Learn what to do if the Arduino IDE hangs, freezes, or otherwise becomes
Learn what to do if the Arduino IDE hangs, freezes, or becomes
unresponsive.
</p>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/4410177782418-If-the-Arduino-IDE-freezes-or-is-unresponsive">Read the article</a>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/4410177782418-If-the-Arduino-IDE-freezes-or-is-unresponsive">Fix issues with Arduino IDE</a>
</div>
<div class="info-item ">
<img src="https://content.arduino.cc/assets/hc-folder.svg">
<p class="info-title">Find files used by Arduino IDE</p>
<p>
Find where sketches, libraries, board platforms, and other files used
by Arduino IDE are stored on your computer. This can be useful for project organization and troubleshooting.
</p>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/4415103213714-Find-sketches-libraries-cores-and-other-files-on-your-computer">Locate Arduino IDE files</a>
</div>
<div class="info-item">
<img src="https://content.arduino.cc/assets/hc-settings.svg">
<p class="info-title">Troubleshoot a sketch</p>
<p class="info-title">Install a custom core version</p>
<p>
There are many factors involved in uploading a program to your Arduino
board, and if any of them are missing, the upload could fail.
The IDE allows for multiple versions of the same core to be installed
simultaneously. This can be useful for testing purposes, or for solving
compatibility issues with a specific core version.
</p>
<a class="link-up-right" href="https://docs.arduino.cc/learn/starting-guide/troubleshooting-sketches">Learn more about possible issues</a>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/360021232160-How-to-install-and-use-a-custom-core-version-in-the-IDE">Learn how to install and use a custom core version</a>
</div>
</div>
<h2 class="center hub">Resources</h2>
<div class="info-wrapper">
<div class="info-item">
<img src="https://content.arduino.cc/assets/hc-library.svg">
<p class="info-title">Libraries</p>
<p>Learn more about managing libraries.</p>
<p>Learn more about managing libraries:</p>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/5145457742236-Add-libraries-to-Arduino-IDE">Add libraries to Arduino IDE</a>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/360016077340-Uninstall-a-library-from-Arduino-IDE">Uninstall a library from Arduino IDE</a>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/360012175419-How-to-submit-a-third-party-library-to-the-Arduino-Library-Manager">Submit a 3rd part library to the manager</a>
</div>
<div class="info-item ">
<img src="https://content.arduino.cc/assets/hc-search.svg">
<p class="info-title">Find files used by Arduino IDE</p>
<p>
Learn where sketches, libraries, board platforms, and other files used
by Arduino IDE are stored on your computer.
</p>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/4415103213714-Find-sketches-libraries-cores-and-other-files-on-your-computer">Read the article</a>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/360012175419-How-to-submit-a-third-party-library-to-the-Arduino-Library-Manager">Submit a 3rd-part library to the manager</a>
</div>
<div class="info-item">
<img src="https://content.arduino.cc/assets/hc-settings.svg">
<p class="info-title">Install a custom core version</p>
<p>
The IDE allows for multiple versions of the same core to be installed
simultaneously. This can be useful for testing purposes, or for solving
compatibility issues with a specific core version.
</p>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/360021232160-How-to-install-and-use-a-custom-core-version-in-the-IDE">Learn how to install and use a custom core version in the IDE</a>
<img src="https://content.arduino.cc/assets/hc-zoom.svg">
<p class="info-title">Text and display size settings</p>
<a id="keep" href="https://support.arduino.cc/hc/en-us/articles/4402771781522-Change-text-and-display-size-settings-in-Arduino-IDE"></a>
<p>Learn how to change text and display size in Arduino IDE</p>
<a class="link-chevron-right">Change text and display size</a>
</div>
<div class="info-item">
<img src="https://content.arduino.cc/assets/hc-text_indent.svg">
<p class="info-title">Enable autocomplete</p>
<p>Learn how to enable the autocomplete feature in Arduino 2:</p>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/4406711538450-Enable-autocomplete-in-IDE-2">Read the guide</a>
<p class="info-title">Autocomplete feature</p>
<p>Learn how to enable the autocomplete feature in Arduino IDE.</p>
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/4406711538450-Enable-autocomplete-in-IDE-2">Enable autocomplete</a>
</div>
<div class="info-item">
<img src="https://content.arduino.cc/assets/hc-serial.svg">
<p class="info-title">Serial monitor</p>
<p> The serial monitor can be used for debugging, testing concepts, or communicating with the Arduino board</p>
<a class="link-chevron-right" href="https://docs.arduino.cc/software/ide-v2/tutorials/ide-v2-serial-monitor/">Learn more about the serial monitor</a>
</div>
<div class="info-item">
<img src="https://content.arduino.cc/assets/hc-vibrations.svg">
<p class="info-title">Serial plotter</p>
<p> The serial plotter is a tool for tracking and visualising different data that is sent from your Arduino board.</p>
<a class="link-chevron-right" href="https://docs.arduino.cc/software/ide-v2/tutorials/ide-v2-serial-plotter/">Learn more about the serial plotter</a>
</div>
</div>
<h2 class="center hub">Search other topics</h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To use your UNO R4 WiFi on Windows, make sure your software is up to date:
* The Cloud Agent updates to the latest version automatically. <a class="link-up-right" href="https://support.arduino.cc/hc/en-us/articles/4407002993426">Check your Arduino Cloud Agent version</a> to verify that you're running 1.3.2 or later. If it's not updating, try restarting the application, or <a class="link-up-right" href="https://support.arduino.cc/hc/en-us/articles/360014869820">manually installing the latest version</a>.
* If you are using Arduino CLI, run `arduino-cli upgrade`.

If you're still see errors when uploading, check **[Errors when uploading a sketch](https://support.arduino.cc/hc/en-us/articles/4403365313810-Errors-when-uploading-a-sketch)**.
If you still experience issues when uploading, check [If your sketch doesn't upload](https://support.arduino.cc/hc/en-us/articles/4403365313810-If-your-sketch-doesn-t-upload).

[^github-issue-renesas]: [Upload broken for the Uno R4 WiFi on Windows #10](https://github.com/arduino/ArduinoCore-renesas/issues/10)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ If the sketch fails to compile, start by looking for other errors printed later

## Further reading

* [Errors when uploading a sketch](https://support.arduino.cc/hc/en-us/articles/4403365313810-Errors-when-uploading-a-sketch)
* [If your sketch doesn't upload](https://support.arduino.cc/hc/en-us/articles/4403365313810-If-your-sketch-doesn-t-upload)
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Global variables use 22 bytes (0%) of dynamic memory, leaving 6122 bytes for loc
avrdude: jtagmkII_initialize(): Cannot locate "flash" and "boot" memories in description
```

If the sketch upload fails, this will be indicated by other error messages, like `avrdude: jtagmkII_getsync(): sign-on command: status -1`. See [Errors when uploading a sketch](https://support.arduino.cc/hc/en-us/articles/4403365313810-Errors-when-uploading-a-sketch) for help.
If the sketch upload fails, this will be indicated by other error messages, like `avrdude: jtagmkII_getsync(): sign-on command: status -1`. See [If your sketch doesn't upload](https://support.arduino.cc/hc/en-us/articles/4403365313810-If-your-sketch-doesn-t-upload) for help.

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ In this article:

## Quick checks

* Make sure your error occurs during compilation by clicking ![Verify button](img/symbol_verify2.png) **Verify** instead of ![Upload button](img/symbol_upload2.png) **Upload**. This will compile the sketch without attempting to upload it. If your error only occurs when uploading, see [Errors when uploading a sketch](https://support.arduino.cc/hc/en-us/articles/4403365313810-Errors-when-uploading-a-sketch).
* Make sure your error occurs during compilation by clicking ![Verify button](img/symbol_verify2.png) **Verify** instead of ![Upload button](img/symbol_upload2.png) **Upload**. This will compile the sketch without attempting to upload it. If your error only occurs when uploading, see [If your sketch doesn't upload](https://support.arduino.cc/hc/en-us/articles/4403365313810-If-your-sketch-doesn-t-upload).

* Make sure you have the right board selected in the board selector or the _Tools > Board_ menu. See [Select board and port in Arduino IDE](https://support.arduino.cc/hc/en-us/articles/4406856349970-Select-board-and-port-in-Arduino-IDE) for more information.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Some upload tools and protocols may not print any message in the console to indi

Unless the console output **ends** with a `Failed upload` error message, the upload process was probably successful. **If you're unsure, try using the board in your project and see if it works as expected**, or upload a simple example like Blink (File > Examples > 01.Basics > Blink).

If a `Failed uploading` error did occur, it's important to note that it's not related to sketch size and memory usage. Instead, see [Errors when uploading a sketch](https://support.arduino.cc/hc/en-us/articles/4403365313810-Errors-when-uploading-a-sketch) for help with troubleshooting uploads.
If a `Failed uploading` error did occur, it's important to note that it's not related to sketch size and memory usage. Instead, see [If your sketch doesn't upload](https://support.arduino.cc/hc/en-us/articles/4403365313810-If-your-sketch-doesn-t-upload) for help with troubleshooting uploads.

![IDE 2 with a message about sketch storage space and dynamic memory usage and failed upload error printed on the console](img/ide2_upload_error_no-upload-port-provided.png)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Most upload problems can be resolved by doing the following:

* **If you're on Linux**, and are experiencing issues where the boards seems to disconnect mid-upload, you may need to [configure udev rules](https://support.arduino.cc/hc/en-us/articles/9004359328796).

For more troubleshooting tips, see [Errors when uploading a sketch](https://support.arduino.cc/hc/en-us/articles/4403365313810-Errors-when-uploading-a-sketch).
For more troubleshooting tips, see [If your sketch doesn't upload](https://support.arduino.cc/hc/en-us/articles/4403365313810-If-your-sketch-doesn-t-upload).

---

Expand All @@ -44,4 +44,4 @@ These are some errors that may appear in the console output:
* If you're getting `avrdude: stk500_recv(): programmer is not responding` and `avrdude: stk500_getsync() attempt x of 10: not in sync` errors, [follow these instructions](https://support.arduino.cc/hc/en-us/articles/4401874331410--Error-avrdude-when-uploading#avrdude-stk500_recv-and-stk500_getsync).
* If you're getting `avrdude: ser_open(): can’t open device` errors, make sure you've selected the right port, and close any other applications that may be using the port.
* For other errors that start with `avrdude`, see ['Error: avrdude' when uploading](https://support.arduino.cc/hc/en-us/articles/4401874331410--Error-avrdude-when-uploading).
* For help with troubleshooting upload problems in general, see [Errors when uploading a sketch](https://support.arduino.cc/hc/en-us/articles/4403365313810-Errors-when-uploading-a-sketch).
* For help with troubleshooting upload problems in general, see [If your sketch doesn't upload](https://support.arduino.cc/hc/en-us/articles/4403365313810-If-your-sketch-doesn-t-upload).
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ id: 4410177782418
Learn what to do if the Arduino IDE hangs, freezes, or otherwise becomes unresponsive.

> [!NOTE]
> This article covers performance issues with the Arduino IDE application, not [errors when uploading](https://support.arduino.cc/hc/en-us/articles/4402764401554).
> This article covers performance issues with the Arduino IDE application, not [problems when uploading](https://support.arduino.cc/hc/en-us/articles/4403365313810-If-your-sketch-doesn-t-upload).

## Restart Arduino IDE

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "If your board is unresponsive, stuck resetting, or otherwise not working
id: 360016420160
---

Learn what to do if your board appears to be running a sketch, but is not behaving as expected. If you're trying to upload a sketch but are getting an error in Arduino IDE, see [Errors when uploading a sketch](https://support.arduino.cc/hc/en-us/articles/4403365313810-Errors-when-uploading-a-sketch) instead.
Learn what to do if your board appears to be running a sketch, but is not behaving as expected. If you're trying to upload a sketch but are getting an error in Arduino IDE, see [If your sketch doesn't upload](https://support.arduino.cc/hc/en-us/articles/4403365313810-If-your-sketch-doesn-t-upload) instead.

---

Expand Down
Loading
Loading