Recommended IDE?
-
- Posts: 2
- Joined: Thu Mar 03, 2016 5:08 pm
Recommended IDE?
Hey guys,
What is the recommended way of programming/uploading MicroPython code to the ESP8266?
Thanks in advance.
What is the recommended way of programming/uploading MicroPython code to the ESP8266?
Thanks in advance.
Re: Recommended IDE?
With the current micropython boards (except for the WiPy), they just show up as a USB disk when you connect them to your computer, and you can edit the files directly there using whatever text editor you prefer. This won't work with ESP8266, as it doesn't have native USB support.
On the WiPy, you also write the python code in whatever editor you like, and upload the files to the board with FTP over the network. That works, but is not very convenient.
From the updates on the Kickstarter we know that ESP8266 is going to have a web-based interactive console, and you will be able to also upload files using it, from your browser. Since the 23k goal was reached, there will also be support for upip, which will let you install libraries directly from the Internet. And finally, I expect there to be also a command-line tool for uploading files (but that's a guess). If it will be available, then it will be possible to make a plugin for most any IDE out there for handling it.
If none of those options suit you, you will also be able to write your own code for uploading files -- the code running on the board will be able to create and write files, so it's just a matter of deciding how you want them transferred and coding it.
On the WiPy, you also write the python code in whatever editor you like, and upload the files to the board with FTP over the network. That works, but is not very convenient.
From the updates on the Kickstarter we know that ESP8266 is going to have a web-based interactive console, and you will be able to also upload files using it, from your browser. Since the 23k goal was reached, there will also be support for upip, which will let you install libraries directly from the Internet. And finally, I expect there to be also a command-line tool for uploading files (but that's a guess). If it will be available, then it will be possible to make a plugin for most any IDE out there for handling it.
If none of those options suit you, you will also be able to write your own code for uploading files -- the code running on the board will be able to create and write files, so it's just a matter of deciding how you want them transferred and coding it.
- andreagrandi
- Posts: 16
- Joined: Fri Feb 05, 2016 6:48 pm
- Contact:
Re: Recommended IDE?
From what I've seen last night, there should be the possibility to add a custom module to the firmware, rebuilding the *.bin and flash it all together. Maybe this takes longer than just copying a single file but it's just to mention it as a possible way.
-
- Posts: 2
- Joined: Thu Mar 03, 2016 5:08 pm
Re: Recommended IDE?
Thanks for the replies, mates. This WebREPL seems very interesting, just saw a video of it! Is there any ETA of when we'll be getting our hands on it? I would be quite happy with a beta as well, if it's not polished.
Re: Recommended IDE?
Yes, the ETA is two months.
Re: Recommended IDE?
I wonder if Dave has thought about extending his rshell.py to support ESP as well, or perhaps as a separate tool. This would be a great addition.deshipu wrote:command-line tool for uploading files (but that's a guess). If it will be available, then it will be possible to make a plugin for most any IDE out there for handling it.
Re: Recommended IDE?
I've been using ESPlorer with Lua; it seems to say it has micropython support, but I haven't tried it. Might be worth a shot until something else comes along
Re: Recommended IDE?
The latest ESPlorer has micropython support; I think there's a bug in the file upload code, but it otherwise works fine.
-
- Posts: 1
- Joined: Thu Sep 21, 2017 12:50 am
Re: Recommended IDE?
How about this? It might be what you are looking for.
https://github.com/jungervin/EsPy
MicroPython IDE for ESP8266
https://github.com/jungervin/EsPy
MicroPython IDE for ESP8266