Add initial support for USB MSC (#5466)
* Add initial support for USB MSC * Add Firmware Upload/Download With MSC Current running firmware is available as file inside the MSC Disk. To update the firmware on the ESP, just copy a regular firmware bin into the drive * Support overwriting of the firmware file Overwriting a file is done totally differently on MacOS, Windows and Linux. This change supports it on all of them. * Allow CDC, FirmwareMSC and DFU to be enabled on boot * Add example ESP32-S2 USB-ONLY board * Various device code optimizations Added `end()` methods to MSC classes Made begin() methods safe to be called multiple times Optimized CDC class * Fix CDC Connect/Disconnect detection in Arduino IDE on Windows * Rework cdc_write * Update ESP32-S2 board configs
Showing
This diff is collapsed.
cores/esp32/FirmwareMSC.cpp
0 → 100644
This diff is collapsed.
cores/esp32/FirmwareMSC.h
0 → 100644
cores/esp32/USBMSC.cpp
0 → 100644
cores/esp32/USBMSC.h
0 → 100644
Please register or sign in to comment