Hi Milan, Please verify if fix in the upstream solved your issue.
BR, Alan On 6/30/23, Milan Obuch <nuttx-...@dino.sk> wrote: > On Thu, 29 Jun 2023 19:29:39 -0300 > "Alan C. Assis" <acas...@gmail.com> wrote: > >> Hi Milan, >> >> This S2-Mini board powered by ESP32-S2 seems to use the USB Controller >> directed instead of using an external USB/Serial chip like the other >> boards you cited. >> >> Also keep in mind that ESP32-S2 chip doesn't have internally the >> USB_SERIAL_JTAG Controller that exist on ESP32-C3 and ESP32-S3 chips >> and are pretty ease to add support. >> >> So to get the Console working on ESP32-S2 you have two options: >> >> 1) Connect a USB/Serial adapter directly the the pins used as UART0, >> not ideal because probably you don't want attachment like it to your >> board; > > Problem here is not using additional USB/serial cable, I do it > regularly if necessary or useful, but pins for UART0 (GPIOs 43 and 44) > are not available on any pin, thus my attempt to use UART1. GPIOs 17 > and 18 are accessible on this board, is it not possible to use them for > console? > >> 2) add support to USB Device on ESP32-S2, fortunately there is a port >> done for ESP32-S3 and that could be used as base, because the USB >> Controller is basically the same with only some differences related >> pins, clock initialization, etc. Probably looking how it is done on >> IDF you will get it working. > > Should I take it as there is no USB support for ESP-S2 at the moment? > From ESP32-S3, which files are to be ported? I am not sure I can do it > myself as I am only starting to learn Espressif devices... and, to be > honest, I am still learning basics of NuttX as well. > > Regards, > Milan >