-
-
Notifications
You must be signed in to change notification settings - Fork 554
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
PlatformIO UPLOAD button does only build, but no upload to device #47
Comments
@YannikW thanks for the tip, that works. But now all buttons try to upload. so not the final solution |
What is your OS? Atom or VSCode? |
If Atom, please open PlatformIO IDE Settings and Check “Use Development version of IDE”. Please wait for a while. Restart. |
@ivankravets
Pushing "UPLOAD" gives me error:
Pushing "BUILD" gives me error :
Existing projects still works. Maybe I am doing something wrong. My usual steps:
What I am doing right now to get around this problem is to create a project in the default project folder. Then I copy the folder that PlatformIO created to my prefered location and rename the folder to the prefered project name. |
Please open PIO IDE Terminal and type Now, close all projects in Atom (right click, remove from TreeView). Also, remove Now all should work. Please confirm. |
Tried to
As suggested in the error message, I manually removed
So I did Next try of
So I closed PlatformIO and deleted Next start of PlatformIO the 'PlatformIO Home' tab is empty beside of a spinning busy icon. I tried a 'pio update' and I saw a 'Updating contrib-piohome @ 0.3.1 [Fixed]' line. But after restarting PlatformIO I still get the same empty 'PlatformIO Home' tab. Next I went to 'PlatformIO->Settings' and saw that 'Use built-in PlatformIO Core' was unchecked. I changed it, but still getting an empty 'PlatformIO Home' tab. Giving up at this point and will try a fresh clean install. |
New installation finished, still having the problem with the empty 'PlatformIO Home' tab.
|
Solved that problem with downloading the contrib-piohome package manually and unpack it in packages folder. There is no version 0.3.2 available on bintray, only 0.3.1, I guess that might be the problem because in But for the projects created outside of the default directory I still get the build errors like
I checked that I am on developer IDE and latest core version. When I open a terminal and use |
Fixed, just run |
|
Confirmation
The PIO Home screen shows Creating a new project outside of the default location works now as expected. Clean, Build and Upload buttons work as excpected. Thank you. |
Had the very same issue, even when operating Arduino's native IDE. |
Environment:
PlatformIO
Version Home 0.3.0·Core 3.5.0a15
Plattform:
Espressif32 Version 0.10.0
Espressif32_stage Version bcfaefd
Framework:
Arduino
How to recreate
Any ESP32 project (or example) will show the problem.
Select project
Press UPLOAD button (or select from Menu PlatformIO->Upload
==> Build starts
==> After build is finished nothing else happens, last message is:
#Workaround
Open PlatformIO terminal and enter
platformio run --target upload
to build and upload
Additional info
When building for ESP8266 or Arduino Uno the behavior of PlatformIO UPLOAD button is as expected.
The text was updated successfully, but these errors were encountered: