Re: UARTs ttyS and esp32

2023-09-18 Thread Alan C. Assis
Please open arch/xtensa/src/esp32/esp32_serial.c and search for uart_register() function. Notice that it is wrapped by some #ifdef, that need to be satisfied to that function be called. Also if you enter inside boards/xtensa and "git grep UART1" or UART2 you will find some board configuration that

Re: UARTs ttyS and esp32

2023-09-18 Thread Petro Karashchenko
Hello Mike, Usually most of the "/dev/XXX" devices are registered at board level (in xxx_bringup() call https://github.com/apache/nuttx/blob/master/boards/xtensa/esp32s3/esp32s3-devkit/src/esp32s3_bringup.c ). Enabling peripherals does not always lead to registration of "/dev/XXX" node as drivers

UARTs ttyS and esp32

2023-09-18 Thread Mike Moretti
Hi, There are a bunch of configuration options for various peripherals, uart0,1,2, i2c0,1, spi0,1...  It appears that enabling say UART1 or UART2 (and configuring their pins) doesn't actually automatically register it as a ttyS in /devices.  Is there some reason for this? Do I have to manuall