Search found 1 match

by ufanders
Tue Dec 26, 2017 5:45 pm
Forum: ESP-IDF
Topic: Using LOG on UART0 and console example on UART1?
Replies: 1
Views: 4962

Using LOG on UART0 and console example on UART1?

Hi guys,

I'm trying to use the console example on UART1 and keep the logging functionality on UART0. I modified the console.c code to use UART1 like so:

/* Install UART driver for interrupt-driven reads and writes */
ESP_ERROR_CHECK( uart_driver_install(/*CONFIG_CONSOLE_UART_NUM*/ 1,
256, 0, 0 ...

Go to advanced search