SrivamsiMalladi commented on issue #7150: URL: https://github.com/apache/incubator-nuttx/issues/7150#issuecomment-1258289775
> you don't need to create a esp32_uart_driver.c because the uart driver is already created inside arch/xtensa/ Yea I saw that it is already available, but I am working on a custom UART driver, so wanted to create a separate driver wrapping the original driver. > your application will open the /dev/ttyS1 (because /dev/ttyS0 is used as console) and read/write to it. Yea, I could get the UART to work this way with /dev/ttyS0 (UART0) (Need to try with /dev/ttyS1 or UART1), but I want to use the driver so that I need not rewrite the basic UART operations and interrupt methods. >Did you enable "[*] UART 1" in the menuconfig? Otherwise /dev/ttyS1 will not be created! I did not enable it earlier. But after you told, I enabled it in the System Type > ESP32 peripheral Selection > [*] UART1. Even then the error `'CONSOLE_DEV' undeclared` is occurring. -- 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 For queries about this service, please contact Infrastructure at: us...@infra.apache.org