Hi,
firstly: sorry, I'm very new to this, I just got a EPS32 and put Micropython on it. I successfully got to a REPL using Putty so at least I got that going
one question remains though .... how are you supposed to get files on the board? .... I only found linux oriented stuff (I use win10 btw.) and on windows the only thin i found was "it should appear as removable drive".... which it doesn't.
Generally, even knowing Python medium well and having done several projects with arduinos, I find the initial entry hurdle quite high.
There is so much half baked guides and different solutions out there. The Guides on the official Site are very well written, but unfortunately don't cover more than getting Micropython on a board. This is probably due to the young age of the project.
Anyway, I maybe have missed something, so don't take my nagging to serious. It's just my experience as a beginner after a day of fiddling around with Micropython.
Hopefully you can point me in the right direction.
Thanks
get programs on a board?
Re: get programs on a board?
Try this: https://learn.adafruit.com/micropython- ... stall-ampy
Sent from my Pixel 2 XL using Tapatalk
Sent from my Pixel 2 XL using Tapatalk
Re: get programs on a board?
Ampy is fine. You may also use pyboard.py https://github.com/micropython/micropyt ... pyboard.py
or rshell. These are both python scripts, which should work on any OS. You might have to install pyserial via pip:
pip install pyserial
or
python -m install pip pyserial
Rshell is pretty powerfull. Once WiFi is active on your device, you may use one of these to upload a ftp server: https://github.com/robert-hh/FTP-Server ... 2-and-PYBD
That's the one I tailored for my use, allowing to use convenient tools like FileZilla.
or rshell. These are both python scripts, which should work on any OS. You might have to install pyserial via pip:
pip install pyserial
or
python -m install pip pyserial
Rshell is pretty powerfull. Once WiFi is active on your device, you may use one of these to upload a ftp server: https://github.com/robert-hh/FTP-Server ... 2-and-PYBD
That's the one I tailored for my use, allowing to use convenient tools like FileZilla.
-
- Posts: 169
- Joined: Fri Aug 19, 2016 11:55 am
Re: get programs on a board?
Not to forget WebREPL, which is actually mentioned in the official docs – although maybe the fact that it also has the ability to transfer files is too easily overlooked there.
pyboard.py is also documented, but maybe there should be a link to it on the “quick reference” pages.
pyboard.py is also documented, but maybe there should be a link to it on the “quick reference” pages.
The place where you found that must have been talking about something other than an ESP32. This only works on microcontrollers that have USB, which the ESP32 does not. (The USB socket on your board is connected to a USB-to-serial converter, not directly to the ESP32.)