-
Notifications
You must be signed in to change notification settings - Fork 106
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
Upload to ESP32 failed #145
Comments
Have you tried to change File -> Settings -> Languages&Frameworks -> MicroPython -> Device type to esp8266 in PyCharm? As ampy is giving a pyboard error maybe you have forgotten to set this. While esp32 is not directly supported it should work for most cases with the esp8266 settings (atleast it does for me) |
This can be related to the issue solved here: #142 You can try to increase hardcoded delay on the following line and see if it helps: https://github.com/vlasovskikh/intellij-micropython/blob/0322fb7c50bed3e196ee253fbb0f613344a56a48/scripts/microupload.py#L121 Path to |
Solution by @lensvol has worked for me. I have changed value from You can open file by following command |
Running: |
Fix works for me as well. Can this be considered being fixed in a PR? |
It's August 21st 2022 and I still had to use this hack to get my file uploading to work. I'm using a five days old build. PyCharm 2022.2.1 (Community Edition) Dear JetBrains, please fix this. |
Hi! We'll try to include it in the next update. |
I just tried editing this file on Windows (Program Files\JetBrains\PyCharm.....\ etc) but there is no plugins\intellij-micropython\ folder.. I have downloaded the MicroPython Plugin from the Plugin Store, am I missing something?! |
Have you checked app data folder?
|
ah Thank you i didnt think of checking there... |
@Elizaveta239 When will the next update be? |
Are we still to do this hack? Kind of baffling that the ESP32 isnt already in the list. |
Here works as well |
Hello,
I have a problem uploading to my ESP32. When I try to upload with pycharm I have an error:
ampy.pyboard.PyboardError: could not enter raw repl
So I tried to upload directly from the terminal without a virtual environment. And it works. So I logged into the virtual environment, updated ampy to version 1.1.1 and was able to upload it from the terminal. On the other hand, I cannot upload with pycharm because it wants to update version 1.0.5. How do I get the extension to accept version 1.1.1 of ampy. I'm on big macos on.
The text was updated successfully, but these errors were encountered: