SrivamsiMalladi opened a new issue, #7150: URL: https://github.com/apache/incubator-nuttx/issues/7150
I would like to use NuttX with ESP32 and I am looking for a UART driver. I see that there is the [nuttx/include/nuttx/serial/serial.h](https://github.com/apache/incubator-nuttx/blob/master/include/nuttx/serial/serial.h) file where I find the [`uart_setup(dev)`](https://github.com/apache/incubator-nuttx/blob/master/include/nuttx/serial/serial.h#L77), [`uart_send(dev, ch)`](https://github.com/apache/incubator-nuttx/blob/master/include/nuttx/serial/serial.h#L88) functions. So what is the dev here? I figured out that I can pass `CONSOLE_DEV` from [nuttx/arch/xtensa/src/esp32/esp32_serial.c](https://github.com/apache/incubator-nuttx/blob/master/arch/xtensa/src/esp32/esp32_serial.c#L72), but there is a esp32_serial.h file missing which is why, I think, I keep getting this error ``` src/esp32_uart_driver.c:65:16: error: 'CONSOLE_DEV' undeclared (first use in this function) uart_setup(&(CONSOLE_DEV)); ``` Please let me know if I have understood it incorrectly or if I am using the wrong files/functions thinking they are UART driver. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org