Open gitcnd opened 2 months ago
Thanks for the report @gitcnd. Do you have a bit more info about the board you are using? Specially the ESP model number?
It's possible this model is newer that what was supported by the esptool version currently included with Mu.
I expect it's at least all of these: https://circuitpython.org/downloads?mcufamilies=esp32 (since the "classic" esp32 doesn't support the USBC magic of the new boards). In my case, it was https://circuitpython.org/board/ai-thinker-esp32-cam/ , https://circuitpython.org/board/esp32-wrover-dev-cam/ and https://templates.blakadder.com/wemos_D1_Mini_ESP32.html
The bug is a logic error in your code - expecting a drive to show up, when none ever will (even though your code can work with serial-only, and even though the serial REPL gives access to all files and folders anyhow...)
Upload and run circuitpython code
Install and run
Ask me for the serial port to use, then use it
told me it did not detect the drive, which is correct since there is no drive, but wrong, because it assumed there should be, which is not the case for ESP32 classic boards which use serial chips. They behave like micropython ones and use serial instead of USB drive emulation for file operations.
Windows
1.2
Comment
There was an error creating your Issue: body is too long (maximum is 65536 characters). The serial REPL did work in circuitpython, weirdly, but there's no way to list the files. The serial REPL does NOT work in micropython mode.
says this on startup:-
(micropython, although looking more promising, also does not work, because you're wrongly setting the hardware flow control, which holds my ESP32 board in reset mode)