From a2478c6e7aa2005a866da2d5a40656f1e7da8f4a Mon Sep 17 00:00:00 2001
From: seaxwi <71350948+seaxwi@users.noreply.github.com>
Date: Thu, 20 Jul 2023 16:13:57 +0200
Subject: [PATCH 01/11] Create
If-you-get-an-Access-is-denied-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md
---
...P32-board-with-esp-board-package-2-0-10.md | 72 +++++++++++++++++++
1 file changed, 72 insertions(+)
create mode 100644 content/Software Support/Compilation/If-you-get-an-Access-is-denied-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md
diff --git a/content/Software Support/Compilation/If-you-get-an-Access-is-denied-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md b/content/Software Support/Compilation/If-you-get-an-Access-is-denied-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md
new file mode 100644
index 00000000..e2d3624f
--- /dev/null
+++ b/content/Software Support/Compilation/If-you-get-an-Access-is-denied-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md
@@ -0,0 +1,72 @@
+---
+title: 'If you get an "Access is denied" error when compiling for an ESP32 board with esp board package 2.0.10'
+---
+
+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, where the error output includes a `Access is denied` message.
+
+[^github-issue]: [Core Compilation failure on Linux in v2.0.10 #8424](https://github.com/espressif/arduino-esp32/issues/8424)
+[^github-pr]: [2.0.10 escaping fix #8433](https://github.com/espressif/arduino-esp32/pull/8433)
+
+These are the known conditions for the error:
+
+* **On Linux:** Using Arduino IDE 1.8.19 or earlier installed using the `apt` package manager.
+* **On Windows:** Using any version of Arduino IDE, where the username contains a space.
+
+**Conditions that will trigger the error:**
+
+* Linux & apt-obtained Arduino IDE 1.8.19 & esp32 2.0.10
+* Linux & Arudino IDE 2.0.10 & esp32 2.0.10
+ * no error with Arudino IDE 2.0.9
+ * no error with Arudino IDE 2.0.11
+* Windows & Arduino IDE (any version) & esp32 2.0.10 & username containing space
+
+---
+
+The issue will be fixed in the next release of the esp32 board package.
+
+---
+
+## On Windows
+
+On Windows, the error output may look like this:
+
+```
+Access is denied.
+cmd /c type nul > "C:\\Users\\Hannes" "Siebeneicher\\AppData\\Local\\Temp\\arduino\\sketches\\2B717D34C8CC4EA7678C7773DD033E96/file_opts"
+exit status 1
+Compilation error: exit status 1
+```
+
+The issue is expected to be fixed in the next release of the esp32 board package.
+
+Meanwhile, you can try these solutions:
+
+* Change your username to not include a space
+* Downgrade to **esp32 2.0.9**:
+ * To make 2.0.9 and earlier versions available in the board manager, you need to add `https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json` as an ["Additional boards manager URL" in Preferences](https://support.arduino.cc/hc/en-us/articles/360016466340-Add-third-party-platforms-to-the-Boards-Manager-in-Arduino-IDE).
+ * You cannot use the Nano ESP32 with this version.
+
+---
+
+## If you're using Linux
+
+On Linux, the error output may look like this:
+
+```
+Compiling core...
+bash -c "echo '-DARDUINO_CORE_BUILD' > /tmp/arduino_build_925905/file_opts"
+>: -c: line 1: unexpected EOF while looking for matching `''
+>: -c: line 2: syntax error: unexpected end of file
+exit status 2
+Error compiling for board Adafruit ESP32 Feather.
+```
+
+The issue is expected to be fixed in the next release of the esp32 board package.
+
+Meanwhile, you can try these solutions:
+
+* Use Arduino IDE 2.0.11 or later.
+* Use Arduino 1.8.19 downloaded as `.zip` download from the official Downloads page, instead of a package manager like `apt`.
+* Downgrade to **esp32 2.0.9**:
+ * To make 2.0.9 and earlier versions available in the board manager, you need to add `https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json` as an ["Additional boards manager URL" in Preferences](https://support.arduino.cc/hc/en-us/articles/360016466340-Add-third-party-platforms-to-the-Boards-Manager-in-Arduino-IDE).
+ * You cannot use the Nano ESP32 with this version.
From 4f16c02f8015aab76c9105a3a8c14d2bc027cb77 Mon Sep 17 00:00:00 2001
From: seaxwi <71350948+seaxwi@users.noreply.github.com>
Date: Thu, 20 Jul 2023 18:48:20 +0200
Subject: [PATCH 02/11] Update
If-you-get-an-Access-is-denied-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md
---
...P32-board-with-esp-board-package-2-0-10.md | 26 +++++++------------
1 file changed, 9 insertions(+), 17 deletions(-)
diff --git a/content/Software Support/Compilation/If-you-get-an-Access-is-denied-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md b/content/Software Support/Compilation/If-you-get-an-Access-is-denied-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md
index e2d3624f..0afe31a3 100644
--- a/content/Software Support/Compilation/If-you-get-an-Access-is-denied-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md
+++ b/content/Software Support/Compilation/If-you-get-an-Access-is-denied-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md
@@ -1,32 +1,22 @@
---
-title: 'If you get an "Access is denied" error when compiling for an ESP32 board with esp board package 2.0.10'
+title: 'If you get a compilation error when compiling for an ESP32 board with esp board package 2.0.10 on Windows or Linux'
---
-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, where the error output includes a `Access is denied` message.
+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. On Windows, the error output includes a `Access is denied` message.
[^github-issue]: [Core Compilation failure on Linux in v2.0.10 #8424](https://github.com/espressif/arduino-esp32/issues/8424)
[^github-pr]: [2.0.10 escaping fix #8433](https://github.com/espressif/arduino-esp32/pull/8433)
-These are the known conditions for the error:
+The causes for the error are different depending on which system you're using:
-* **On Linux:** Using Arduino IDE 1.8.19 or earlier installed using the `apt` package manager.
-* **On Windows:** Using any version of Arduino IDE, where the username contains a space.
-
-**Conditions that will trigger the error:**
-
-* Linux & apt-obtained Arduino IDE 1.8.19 & esp32 2.0.10
-* Linux & Arudino IDE 2.0.10 & esp32 2.0.10
- * no error with Arudino IDE 2.0.9
- * no error with Arudino IDE 2.0.11
-* Windows & Arduino IDE (any version) & esp32 2.0.10 & username containing space
+* [Windows](#windows)
+* [Linux](#linux)
---
-The issue will be fixed in the next release of the esp32 board package.
+
----
-
-## On Windows
+## If you're using Windows
On Windows, the error output may look like this:
@@ -48,6 +38,8 @@ Meanwhile, you can try these solutions:
---
+
+
## If you're using Linux
On Linux, the error output may look like this:
From 272bb7f833f6100e741b51f673d74265d29a7252 Mon Sep 17 00:00:00 2001
From: seaxwi <71350948+seaxwi@users.noreply.github.com>
Date: Thu, 20 Jul 2023 18:59:49 +0200
Subject: [PATCH 03/11] Remove changing username as a solution
---
...compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md | 1 -
1 file changed, 1 deletion(-)
diff --git a/content/Software Support/Compilation/If-you-get-an-Access-is-denied-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md b/content/Software Support/Compilation/If-you-get-an-Access-is-denied-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md
index 0afe31a3..1633c1b0 100644
--- a/content/Software Support/Compilation/If-you-get-an-Access-is-denied-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md
+++ b/content/Software Support/Compilation/If-you-get-an-Access-is-denied-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md
@@ -31,7 +31,6 @@ The issue is expected to be fixed in the next release of the esp32 board package
Meanwhile, you can try these solutions:
-* Change your username to not include a space
* Downgrade to **esp32 2.0.9**:
* To make 2.0.9 and earlier versions available in the board manager, you need to add `https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json` as an ["Additional boards manager URL" in Preferences](https://support.arduino.cc/hc/en-us/articles/360016466340-Add-third-party-platforms-to-the-Boards-Manager-in-Arduino-IDE).
* You cannot use the Nano ESP32 with this version.
From b70ecc67f5abd53010b3d8bd1d4b875208395a51 Mon Sep 17 00:00:00 2001
From: seaxwi <71350948+seaxwi@users.noreply.github.com>
Date: Thu, 20 Jul 2023 19:04:42 +0200
Subject: [PATCH 04/11] Update filename
---
...32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename content/Software Support/Compilation/{If-you-get-an-Access-is-denied-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md => If-you-get-a-compilation-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md} (100%)
diff --git a/content/Software Support/Compilation/If-you-get-an-Access-is-denied-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md b/content/Software Support/Compilation/If-you-get-a-compilation-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md
similarity index 100%
rename from content/Software Support/Compilation/If-you-get-an-Access-is-denied-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10.md
rename to content/Software Support/Compilation/If-you-get-a-compilation-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md
From 0bad94b78323d9679611d890fa6cc0b367bef936 Mon Sep 17 00:00:00 2001
From: seaxwi <71350948+seaxwi@users.noreply.github.com>
Date: Thu, 20 Jul 2023 19:04:51 +0200
Subject: [PATCH 05/11] 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
---
...2-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/Software Support/Compilation/If-you-get-a-compilation-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md b/content/Software Support/Compilation/If-you-get-a-compilation-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md
index 1633c1b0..528d14f1 100644
--- a/content/Software Support/Compilation/If-you-get-a-compilation-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md
+++ b/content/Software Support/Compilation/If-you-get-a-compilation-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md
@@ -29,7 +29,7 @@ Compilation error: exit status 1
The issue is expected to be fixed in the next release of the esp32 board package.
-Meanwhile, you can try these solutions:
+Meanwhile, you can try this solution:
* Downgrade to **esp32 2.0.9**:
* To make 2.0.9 and earlier versions available in the board manager, you need to add `https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json` as an ["Additional boards manager URL" in Preferences](https://support.arduino.cc/hc/en-us/articles/360016466340-Add-third-party-platforms-to-the-Boards-Manager-in-Arduino-IDE).
From 4c3c50bbc5f4f0a14f4a54a17f29d229f0f49c06 Mon Sep 17 00:00:00 2001
From: seaxwi <71350948+seaxwi@users.noreply.github.com>
Date: Thu, 20 Jul 2023 19:06:25 +0200
Subject: [PATCH 06/11] Grammar
---
...2-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/Software Support/Compilation/If-you-get-a-compilation-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md b/content/Software Support/Compilation/If-you-get-a-compilation-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md
index 528d14f1..a497f087 100644
--- a/content/Software Support/Compilation/If-you-get-a-compilation-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md
+++ b/content/Software Support/Compilation/If-you-get-a-compilation-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md
@@ -2,7 +2,7 @@
title: 'If you get a compilation error when compiling for an ESP32 board with esp board package 2.0.10 on Windows or Linux'
---
-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. On Windows, the error output includes a `Access is denied` message.
+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. On Windows, the error output includes an `Access is denied` message.
[^github-issue]: [Core Compilation failure on Linux in v2.0.10 #8424](https://github.com/espressif/arduino-esp32/issues/8424)
[^github-pr]: [2.0.10 escaping fix #8433](https://github.com/espressif/arduino-esp32/pull/8433)
From aa038cb34daea0a010eadba78d7a6919e5a7770b Mon Sep 17 00:00:00 2001
From: seaxwi <71350948+seaxwi@users.noreply.github.com>
Date: Thu, 20 Jul 2023 19:18:51 +0200
Subject: [PATCH 07/11] Less redundant title
---
...2-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/Software Support/Compilation/If-you-get-a-compilation-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md b/content/Software Support/Compilation/If-you-get-a-compilation-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md
index a497f087..c9a773b6 100644
--- a/content/Software Support/Compilation/If-you-get-a-compilation-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md
+++ b/content/Software Support/Compilation/If-you-get-a-compilation-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md
@@ -1,5 +1,5 @@
---
-title: 'If you get a compilation error when compiling for an ESP32 board with esp board package 2.0.10 on Windows or Linux'
+title: 'If you get an error when compiling for an ESP32 board with esp board package 2.0.10 on Windows or Linux'
---
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. On Windows, the error output includes an `Access is denied` message.
From 9234bce0be577884f05bfe53de8e7544edbf9fc6 Mon Sep 17 00:00:00 2001
From: seaxwi <71350948+seaxwi@users.noreply.github.com>
Date: Thu, 20 Jul 2023 19:30:55 +0200
Subject: [PATCH 08/11] Update filename
---
...32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename content/Software Support/Compilation/{If-you-get-a-compilation-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md => If-you-get-an-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md} (100%)
diff --git a/content/Software Support/Compilation/If-you-get-a-compilation-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md b/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
similarity index 100%
rename from content/Software Support/Compilation/If-you-get-a-compilation-error-when-compiling-for-an-ESP32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md
rename to 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
From 1077c02f6ca672d8237f19a233e924e55d6e6f1a Mon Sep 17 00:00:00 2001
From: seaxwi <71350948+seaxwi@users.noreply.github.com>
Date: Fri, 21 Jul 2023 09:53:46 +0200
Subject: [PATCH 09/11] 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 <1405703+kittaakos@users.noreply.github.com>
---
...2-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/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 b/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
index c9a773b6..006a585c 100644
--- a/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
+++ b/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
@@ -56,7 +56,7 @@ The issue is expected to be fixed in the next release of the esp32 board package
Meanwhile, you can try these solutions:
-* Use Arduino IDE 2.0.11 or later.
+* Use Arduino IDE 2.1.1 or later.
* Use Arduino 1.8.19 downloaded as `.zip` download from the official Downloads page, instead of a package manager like `apt`.
* Downgrade to **esp32 2.0.9**:
* To make 2.0.9 and earlier versions available in the board manager, you need to add `https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json` as an ["Additional boards manager URL" in Preferences](https://support.arduino.cc/hc/en-us/articles/360016466340-Add-third-party-platforms-to-the-Boards-Manager-in-Arduino-IDE).
From 8cf4dcec38a26d3d4675ba1310a1846b9e3b1dd4 Mon Sep 17 00:00:00 2001
From: seaxwi <71350948+seaxwi@users.noreply.github.com>
Date: Fri, 21 Jul 2023 12:21:04 +0200
Subject: [PATCH 10/11] Add 1.8.19 workaround
---
...32-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/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 b/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
index c9a773b6..a4802b52 100644
--- a/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
+++ b/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
@@ -31,6 +31,7 @@ The issue is expected to be fixed in the next release of the esp32 board package
Meanwhile, you can try this solution:
+* Use Arduino IDE 1.8.19
* Downgrade to **esp32 2.0.9**:
* To make 2.0.9 and earlier versions available in the board manager, you need to add `https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json` as an ["Additional boards manager URL" in Preferences](https://support.arduino.cc/hc/en-us/articles/360016466340-Add-third-party-platforms-to-the-Boards-Manager-in-Arduino-IDE).
* You cannot use the Nano ESP32 with this version.
From f2697a06a5f7bef8cefc9c93ec46f711ae902b1b Mon Sep 17 00:00:00 2001
From: seaxwi <71350948+seaxwi@users.noreply.github.com>
Date: Fri, 21 Jul 2023 12:28:01 +0200
Subject: [PATCH 11/11] Fix link class name
---
...2-board-with-esp-board-package-2-0-10-on-Windows-or-Linux.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/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 b/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
index a4802b52..70acc193 100644
--- a/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
+++ b/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
@@ -58,7 +58,7 @@ The issue is expected to be fixed in the next release of the esp32 board package
Meanwhile, you can try these solutions:
* Use Arduino IDE 2.0.11 or later.
-* Use Arduino 1.8.19 downloaded as `.zip` download from the official Downloads page, instead of a package manager like `apt`.
+* Use Arduino 1.8.19 downloaded as `.zip` download from the official Downloads page, instead of a package manager like `apt`.
* Downgrade to **esp32 2.0.9**:
* To make 2.0.9 and earlier versions available in the board manager, you need to add `https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json` as an ["Additional boards manager URL" in Preferences](https://support.arduino.cc/hc/en-us/articles/360016466340-Add-third-party-platforms-to-the-Boards-Manager-in-Arduino-IDE).
* You cannot use the Nano ESP32 with this version.