-
Notifications
You must be signed in to change notification settings - Fork 25
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
Can't upload project #242
Comments
This was answered here: https://forum.pycom.io/topic/7576/esp8266-can-t-upload-project/2?_=1653891246201 Solution:
The next patch may auto detect root path so the above steps won't be required. I'm closing this, but feel free to continue the conversation. 🙂 |
@jakobrosenberg Would you please share some screenshots of what you've described with editing the settings? I'm having the same issue as described but with ESP32 and suspect it's a root folder problem but I can't find Devices: Config in settings. The only pymakr setting in my JSON is devices.names so I'm not sure what custom path is supposed to look like |
OK, thanks for that @jakobrosenberg that's got me started however I now have VS Code not recognising that as a setting?? My settings text is this, I can't see anything wrong with it compared to yours above
|
@nkgiovannivl How do I get a stack trace like this to see what happens when uploading? #242 (comment)
|
Also @jakobrosenberg I was told on the Pycom forum that my board (ESP8266) is not supported for pymakr and that was why I couldn't upload. Is that a mistake? https://forum.pycom.io/topic/7576/esp8266-can-t-upload-project/4 |
Looking at the screen shots, I can get to the point of selecting the 'Devices' item but there is no 'Edit is settings.json' option. |
@AussieSusan If you upgrade to the latest preview, 3rd party devices should now be auto detected. @pgrenon1 yes and no. Pymakr is for Pycom devices, but we do try to make it work with 3rd party devices. There's a fix in the latest preview version that auto detects the correct root path on 3rd party devices. I don't have any 3rd party devices to test, so would love to hear your experience if you try it. |
Hey @jakobrosenberg I upgraded to the preview using the link you sent earlier and it did not detect the root path. But I haven't tried doing the whole device setup I just created a new blank pymakr project. I was however able to go in the settings and change it so it matches my device and now everything seems to work! So thanks a lot! |
Board: NodeMCU with ESP-8266 (CH340g)
TLDR: I'm trying to upload scripts from Visual Studio Code to this board using Pymakr and it's not working.
I followed the steps at https://docs.micropython.org/en/latest/esp8266/tutorial/intro.html in order to flash micropython on the board.
Here is what I did, steps by steps:
boot.py
to add a connect method, following the tutorial here https://docs.micropython.org/en/latest/esp8266/tutorial/network_basics.htmlboot.py
Also, if I add a file
main.py
to the project and press the "Sync project to device", I can tell that nothing is uploaded because I only see this!Can anyone help me with this please?
Thanks in advance
The text was updated successfully, but these errors were encountered: