A new guide in the Adafruit Learning System: CircuitPython USB Workflow Code Editor Quick Start.
The CircuitPython Code Editor‘s USB mode is the most recent mode to be added. It was originally written to use Chrome’s File System API to allow direct manipulation of files on a microcontrollers USB CIRCUITPY drive. This worked well for the most part, but there were boards that didn’t have native USB ports and thus didn’t have a CIRCUITPY drive, such as the Adafruit HUZZAH32, an ESP32-based development board.
Taking a cue from other code editors such as Thonny that allow file manipulation through the REPL, the Code Editor was recently expanded to include similar functionality. For boards that have a CIRCUITPY drive, since the file system is mounted as read-only, the File System API is…