-
-
Notifications
You must be signed in to change notification settings - Fork 398
esptool path conflict when both ESP8266 & ESP32 cores installed #73
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
Milestone
Comments
11 tasks
cmaglie
added a commit
to cmaglie/arduino-cli
that referenced
this issue
Oct 30, 2018
As explained in arduino#73
cmaglie
added a commit
to cmaglie/arduino-cli
that referenced
this issue
Oct 30, 2018
@ImpulseAdventure thanks for bug report and for the detailed instructions to reproduce the issue, that helped a lot to spot the bug! The fix in #82 if you want to try it out. |
cmaglie
added a commit
that referenced
this issue
Oct 31, 2018
mastrolinux
pushed a commit
that referenced
this issue
Jul 16, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great work on releasing this interface -- it is incredibly helpful for regressions.
I have run into what appears to be a transient conflict in esptool definition for
arduino-cli
when both ESP32 and ESP8266 cores have been installed. When either core has been installed, no issue is observed. When both cores have been installed, the arduino-cli compile process fails (about a half of the time) as the path to esptool is corrupted.Please note that it wasn't entirely clear to me whether the source of the issue was within arduino-cli or due to something more specific to the espressif cores, though it seems to me that the arduino-cli is the likely source of the path in question below.
Steps to reproduce (approximate)
arduino-cli
from this point onwards).cli-config.yml
withrm -rf ~/.arduino15/staging/packages/*
(to ensure clean package download)./arduino-cli core update-index
./arduino-cli core install esp8266:esp8266
./arduino-cli core install esp32:esp32
basic/basic.ino
:Results
Out of ten compiles, I often encounter about five that die because
esptool
can't be found. Comparing the log files between passing & failing, the content is largely identical except for some variation in the compile file ordering and the path toesptool
.In the passing cases (for ESP32), I see:
In the failing cases (for ESP32), I see:
Other observations:
{tools.esptool.path}
getting corrupted (perhaps originating from esptool's runtimeInstallDir
) but I'm not sure.--fqbn esp8266:esp8266:nodemcu
, as the ESP32 esptool path gets selected instead. The resulting error (for ESP8266 cases) then becomes:Unable to cache built core, please tell esp32:[email protected] maintainers to follow ...
Thanks for any assistance
The text was updated successfully, but these errors were encountered: