martin-ger / esp32_nat_router

A simple NAT Router for the ESP32
1.27k stars 268 forks source link

Add support for console over usb serial #146

Closed Hougaard22 closed 7 months ago

Hougaard22 commented 7 months ago

All newer ESP32 boards have a built in USB Serial/JTAG Controller.

This PR adds support for boards where the usb port is connected directly to the built in USB Serial/JTAG Controller.

New feature:

Tested on boards:

Obs: Adding the new parameters in sdkconfig.defaults, does not seem to have any effect on boards without built in USB Serial/JTAG Controller (ESP32, ESP32-WROVER), it will default to UART if usb serial is not available on the chip. (Feel free to remove/out comment the new parameters in the .defaults)