Neither ESP8266 nor ESP32 support USB, so what am I babbling about? No, ESP8622 did not suddenly grow a USB PHY, but cnlohr decided to implement virtual USB support using two GPIOs (12 & 13) for the D+/D- USB signals, meaning you can connect any ESP8266 module through USB, or even update the firmware through USB without external hardware, apart from a single extra resistor.
That’s the demo, and an explanation about the design process.
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.
That is awesome work! Well done!
LUFA and V-USB seem like good places to start if implementing a usb software stack!
http://www.fourwalledcubicle.com/files/LUFA/Doc/120219/html/_page__alternative_stacks.html
Hopefully he was able to leverage something from that!
Redirecting/mirroring the serial console through USB should be easy.
Nice, thanks!
He has even made a tiny ESP8285 board specifically for ESPUSB -> https://twitter.com/cnlohr/status/770674584626475009