Circuitpython 8 beta has Web Workflow for ESP32s

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
MaxMin
Posts: 6
Joined: Mon Aug 22, 2022 4:41 am

Circuitpython 8 beta has Web Workflow for ESP32s

Post by MaxMin » Mon Aug 22, 2022 6:35 am

Using a little code trickery they are providing easy browser page based editing...

(Circuitpython 7 has BT programming for ESP32s (Which can't mount normally used USB drive image)
but it proved to be a bit cumbersome.

This beta 8 preview discusses Web Workflow, for 13 minutes, starting here: https://youtu.be/Lgo6Eq1EIuc?t=938

They use NDNS https://named-data.net/publications/2017-icccn-ndns/ to show the board name.

To set it up, you just install a .env file with your wifi credentials to the board using REPL or Thonny 'save to Circuitpython Device'

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

Re: Circuitpython 8 beta has Web Workflow for ESP32s

Post by jimmo » Mon Aug 22, 2022 11:17 am

MaxMin wrote:
Mon Aug 22, 2022 6:35 am
Using a little code trickery they are providing easy browser page based editing...
It is very cool, I happened to try it for the first time today too.

If you haven't seen it, as well as the on-device editor/file browser, you can go to http//device.local/code/ and it will give you the full code.circuitpython.org experience.

It's on the giant TODO list to add a file editor to MicroPython's webrepl. (It's honestly not much work, we already have the file upload/download buttons, adding an embedded CodeMirror wouldn't be too difficult).
MaxMin wrote:
Mon Aug 22, 2022 6:35 am
They use NDNS https://named-data.net/publications/2017-icccn-ndns/ to show the board name.
Isn't it mDNS?

Post Reply