This PR moves serial-related validations into a single method so that we can more reliably detect failure conditions related to the serial communication, and mark the component as failed early if so.
This prevents crashes when accessing get_hw_serial_() and lights up the web component even if UART0 is in conflict.
This PR moves serial-related validations into a single method so that we can more reliably detect failure conditions related to the serial communication, and mark the component as failed early if so.
This prevents crashes when accessing
get_hw_serial_()
and lights up the web component even if UART0 is in conflict.