jerpelea opened a new pull request, #20080:
URL: https://github.com/apache/nuttx/pull/20080

   ## Summary
   
   When a real UART (CONFIG_UARTx_SERIAL_CONSOLE) is selected as the system 
console while CONFIG_ESP32S3_USBSERIAL is also enabled (e.g. to keep 
/dev/ttyACM0 available as a secondary device alongside an external console 
UART), the unconditional
   
     #ifdef CONFIG_ESP32S3_USBSERIAL
     #  define CONSOLE_DEV g_uart_usbserial
     #endif
   
   block silently redefines CONSOLE_DEV, clobbering the correct earlier 
definition that pointed it at the chosen UART device.
   
   Confirmed on real hardware (Seeed XIAO ESP32-S3): with UART0 selected as 
console and USBSERIAL also enabled, the board boot-looped on RTCWDT_RTC_RST 
every ~8s, never reaching NSH. With this fix, NSH comes up normally over UART0 
and /dev/ttyACM0 remains available.
   
   ## Impact
   
   RELEASE
   
   ## Testing
   
   CI


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to