On Sun, 30 Jul 2023 09:56:36 -0300 "Alan C. Assis" <acas...@gmail.com> wrote:
> Hi Milan, > > On 6/30/23, Milan Obuch <nuttx-...@dino.sk> wrote: > ... > >> 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? > > > > I got an S2 Mini V1.0.0 WEMOS.CC like yours and confirmed the issue. > After changing the pins to 33 and 34 (as you noticed pins 43 and 44 > are not available, Wemos' mistake) the serial console is not showing > up. Hi, do you see any possible solution to this problem? Now, as you can test it locally, it should be easier for you to test it. > This board use the ESP32-S2 with internal SPI flash, so there are some > small differences in relation to the original ESP32-S2 with external > SPI flash. What kind of differences? What impact do they cause to NuttX configuration and build? > >> 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. > > The ESP32-S2 and S3 USB IP is the same DWC USB controller used on > Raspberry and some STM32 chips. So we could use the existing driver on > NuttX as starting point. That's fine. Do we need some glue to use existing driver? Working USB would make this board more useful. regards, Milan