Skip to content

Commit a8950e7

Browse files
seaxwikittaakos
andauthored
Updates for Nano ESP32 [HC-1354, HC-1356] (#252)
* Create If-you-get-an-Access-is-denied-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md * Update If-you-get-an-Access-is-denied-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md * Remove changing username as a solution * Update filename * Update If-you-get-a-compilation-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md * Grammar * Less redundant title * Update filename * Update content/Software Support/Compilation/If-you-get-an-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md Co-authored-by: Akos Kitta <[email protected]> * Add 1.8.19 workaround * Fix link class name * Update for 2.0.11 fix * Update for cloud support release * typo * Split steps --------- Co-authored-by: Akos Kitta <[email protected]>
1 parent 8e0fac3 commit a8950e7

6 files changed

+75
-73
lines changed

content/Hardware Support/Nano Family/Delayed-Cloud-support-for-Arduino-Nano-ESP32.md

-8
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: Use Nano ESP32 with Arduino IoT Cloud
3+
id: 9625780196508
4+
---
5+
6+
Nano ESP32 support was added to Arduino Cloud July 27th, 2023.
7+
8+
1. Open the <a class="link-external" href="https://create.arduino.cc/iot/devices">Devices tab in Arduino Cloud</a>.
9+
1. Click the **Add** button.
10+
1. Select **"Arduino Board"**.
11+
1. Connect your Nano ESP32 board to your computer and wait for it to be discovered by IoT Cloud.
12+
1. Follow the instructions to set up the device.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: Errors when compiling for an ESP32 board with esp32 board package 2.0.10 on Windows or Linux
3+
id: 9682191506204
4+
---
5+
6+
> **Note:** The esp32 package maintained by Arduino has been renamed to **Arduino ESP32 Boards**.
7+
8+
Version 2.0.10 of the **esp32 board package** introduced a bug[^github-issue][^github-pr] that would cause compilation to fail for some Windows and Linux users.
9+
10+
[^github-issue]: [Core Compilation failure on Linux in v2.0.10 #8424](https://github.com/espressif/arduino-esp32/issues/8424)
11+
[^github-pr]: [2.0.10 escaping fix #8433](https://github.com/espressif/arduino-esp32/pull/8433)
12+
13+
These issues have been fixed in 2.0.11 and later. **[Upgrade the board package](#solution)** to resolve the issue.
14+
15+
---
16+
17+
## Scope of the error
18+
19+
**Windows:**
20+
21+
* Users of Arduino IDE 2 where the `Arduino15` folder path contained a space (typically in the user folder name) were affected.
22+
23+
* Example error output:
24+
25+
```
26+
Access is denied.
27+
cmd /c type nul > "C:\\Users\\Hannes" "Siebeneicher\\AppData\\Local\\Temp\\arduino\\sketches\\2B717D34C8CC4EA7678C7773DD033E96/file_opts"
28+
exit status 1
29+
Compilation error: exit status 1
30+
```
31+
32+
**Linux:**
33+
34+
* Users of Arduino IDE 1 that had installed the software using APT (Advanced package tool) were affected.
35+
* Example error output:
36+
37+
```
38+
Compiling core...
39+
bash -c "echo '-DARDUINO_CORE_BUILD' > /tmp/arduino_build_925905/file_opts"
40+
>: -c: line 1: unexpected EOF while looking for matching `''
41+
>: -c: line 2: syntax error: unexpected end of file
42+
exit status 2
43+
Error compiling for board Adafruit ESP32 Feather.
44+
```
45+
46+
---
47+
48+
<a id="solution"></a>
49+
50+
## Solution
51+
52+
Fix the issue by upgrading the board package to 2.0.11 or later:
53+
54+
1. Open the Boards Manager by clicking the ![Boards Manager icon](img/symbol_board.png) button in the sidebar (IDE 2) or select **Tools > Board > Boards Manager** in the top menu bar.
55+
56+
1. Search for "esp32" to show the **Arduino ESP32 Boards** (Arduino) and **esp32** (Espressif Systems) board packages.
57+
58+
![Updating Arduino ESP32 Boards in the Board Manager.](img/update-esp32.png)
59+
60+
1. One or both of these packages will display the text `"2.0.10 installed"`. If you have packages are installed, it is recommended to update both to the latest version. Move your cursor to the board package row, and click the **Update button** (the latest available version is selected by default).
61+
* In IDE 1, you need to move your mouse cursor inside the board package row to reveal the **Update** button. Also, the option menu for version selection will not show if only one newer version is available. In this case, just click **Update** to install 2.0.11.
62+
63+
1. Wait while Arduino IDE updates the board package.

content/Software Support/Compilation/If-you-get-an-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md

-65
This file was deleted.
Loading
Loading

0 commit comments

Comments
 (0)