Micropython UF2 bootloader, how?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
easylab4kids
Posts: 20
Joined: Mon Aug 12, 2019 10:58 am
Location: Ellisras, Suid-Afrika ("South Africa")

Micropython UF2 bootloader, how?

Post by easylab4kids » Fri Oct 04, 2019 11:08 am

I've got an CircuitPlayground Express running CircuitPython, which exposes the device as removable USB disk. Nice!
Yes, code is easily uploaded using Thonny IDE, and getting new libraries onto Micropython board is cumbersome.

But... how to UDF2, or similiar for MicroPython on ESP8266? Thats much more customer friendly.

regards,
#easylab4kids

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

Re: Micropython UF2 bootloader, how?

Post by jimmo » Sat Oct 05, 2019 12:01 am

Unfortunately thr ESP8266 does not have a built-in USB. Any ESP8266 (or ESP32) board with USB is actually handled by a second chip on the board which only does serial (uart). In order to do a filesystem over USB it needs to be integrated. The SAMD chips used by Adafruit and STM32 chips allow this.

(This is partly why Adafruit no longer supports circuitpython on ESP8266).

Post Reply