-
-
Notifications
You must be signed in to change notification settings - Fork 398
Can't upload compiled code on esp8266 #64
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
Comments
i am also facing same problem. |
@embhobbb place thumb up in this case. |
@brusherru Did you get any solution yet? |
Ok it seems that the problem is the path of the compiled
I'd implement 1) to begin with, but also 2) and 3) may be part of the next alpha as well. |
@brusherru @embhobbb would you like to try this build? |
@cmaglie it works! 👏 |
I want to upload code on esp8266 (wifi_slot).
I already applied patch from #35 and it works, so I can compile code, but I can't upload it...
Env
This bug can't be reproduced on Linux/MacOS.
Steps to reproduce
--build-properties
see below):arduino-cli --fqbn esp8266:esp8266:wifi_slot:CpuFrequency=80,Vtable=flash,FlashFreq=40,FlashMode=qio,FlashSize=1M0,LwIPVariant=v2mss536,Debug=Disabled,DebugLevel=None,FlashErase=none,UploadSpeed=921600 compile C:\Users\the-awesome-bob\arduino-projects\my-sketchbook\my_sketch
arduino-cli --fqbn esp8266:esp8266:wifi_slot:CpuFrequency=80,Vtable=flash,FlashFreq=40,FlashMode=qio,FlashSize=1M0,LwIPVariant=v2mss536,Debug=Disabled,DebugLevel=None,FlashErase=none,UploadSpeed=921600 --port COM5 upload C:\Users\the-awesome-bob\arduino-projects\my-sketchbook\my_sketch
Expected behavior
It uploaded and works fine.
Actual behavior
Arduino-cli exits with error:
When I replace the path with UNC path
\\localhost\c$\Users\...
it exits with:Why not
--build-properties
upload
command does not have a special flag to specify upload properties. So it can't upload sketch even if you successfully compiled it with--build-properties
.Why it happens?
This hypothesis is confirmed by next manipulations: I mounted a virtual drive to the folder (
subst Z: C:\Users\the-awesome-bob\arduino-projects\my-sketchbook\
) and then tell uploader the shorter path to my sketch:Z:\my_sketch
— it uploads!How to fix it
I propose two ways to fix it:
my_sketch.esp8266.esp8266.wifi_slot.bin
).upload
command.The text was updated successfully, but these errors were encountered: