How to transfer library to ESP32?

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
KrisRevi
Posts: 7
Joined: Wed Jul 01, 2020 6:45 pm

How to transfer library to ESP32?

Post by KrisRevi » Sat Jul 04, 2020 10:23 pm

im not sure on how to transfer a library to my ESP32! :/

This is the library / module i need to have on my ESP32 https://microwebsrv.hc2.fr/ it's the Websocket i need!

shaoziyang
Posts: 363
Joined: Sun Apr 17, 2016 1:55 pm

Re: How to transfer library to ESP32?

Post by shaoziyang » Sun Jul 05, 2020 1:34 am

You may use webrepl or ftp transfer file through wlan, or use pyboard.py through serial port.

KrisRevi
Posts: 7
Joined: Wed Jul 01, 2020 6:45 pm

Re: How to transfer library to ESP32?

Post by KrisRevi » Sun Jul 05, 2020 12:50 pm

shaoziyang wrote:
Sun Jul 05, 2020 1:34 am
You may use webrepl or ftp transfer file through wlan, or use pyboard.py through serial port.
i can't get the webrepl to connect :S i have enabled webrepl on my ESP32 :S

User avatar
HexVitor
Posts: 6
Joined: Sat Dec 28, 2019 2:11 am
Location: Brazil

Re: How to transfer library to ESP32?

Post by HexVitor » Sun Jul 05, 2020 2:32 pm

Hi, did you test ampy? check page 13 in this ampy document: https://cdn-learn.adafruit.com/download ... n-code.pdf

shaoziyang
Posts: 363
Joined: Sun Apr 17, 2016 1:55 pm

Re: How to transfer library to ESP32?

Post by shaoziyang » Mon Jul 06, 2020 1:41 am

KrisRevi wrote:
Sun Jul 05, 2020 12:50 pm
shaoziyang wrote:
Sun Jul 05, 2020 1:34 am
You may use webrepl or ftp transfer file through wlan, or use pyboard.py through serial port.
i can't get the webrepl to connect :S i have enabled webrepl on my ESP32 :S
pyboard.py also easy to use. It is in micropython/tools folder, it may use to transfer file, list file, etc. Compared with other software, it transfers files more stably.

transfer

Code: Select all

pyboard -d COMx -f cp infile :outfile
ls

Code: Select all

pyboard -d COMx -f ls
Last edited by jimmo on Mon Jul 06, 2020 2:24 am, edited 1 time in total.
Reason: Add [code] formatting

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: How to transfer library to ESP32?

Post by jimmo » Mon Jul 06, 2020 2:24 am


Post Reply