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
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