7 static const char *
const TAG =
"logger";
11 switch (this->
uart_) {
34 ESP_LOGW(TAG,
" The chosen logger UART port is not available on this board." 35 "The default port was used instead.");
43 lt_log_set_port(LT_UART_DEFAULT_SERIAL);
45 lt_log_set_port(this->
uart_ - 1);
50 ESP_LOGI(TAG,
"Log initialized");
55 const char *
const UART_SELECTIONS[] = {
"DEFAULT",
"UART0",
"UART1",
"UART2"};
62 #endif // USE_LIBRETINY
UARTSelection
Enum for logging UART selection.
const char * get_uart_selection_()
void pre_setup()
Set up this component.
const char *const UART_SELECTIONS[]
Implementation of SPI Controller mode.
void write_msg_(const char *msg)