Log output on UART1 does not work any more

novalight
Posts: 40
Joined: Tue Apr 19, 2016 1:13 pm

Log output on UART1 does not work any more

Postby novalight » Thu Sep 28, 2017 4:28 pm

I am using sdkconfig with custom log output: UART1 on GPIO16 and GPIO17.

Since a commit from a few days (sorry, can't pinpoint it down) it stopped logging anything after the bootloader. It seams, the output gets somehow disabled. I fixed it (using arduino as idf component) this way, after the first lines of code I do:

Code: Select all

    HardwareSerial loggerRS485_2(1);
    loggerRS485_2.begin(115200, SERIAL_8N1, 16, 17);
    loggerRS485_2.println("Hello on UART1");
    loggerRS485_2.flush();
And voila, the logging comes back. I think this should somehow be considered a bug. When you select logging on UART1 in sdkconfig, it should not be disabled somehow. Does anybody know, what has been changed/where this could come from?

novalight
Posts: 40
Joined: Tue Apr 19, 2016 1:13 pm

Re: Log output on UART1 does not work any more

Postby novalight » Wed Oct 18, 2017 7:54 am

There is now a github issue regarding this bug:
https://github.com/espressif/esp-idf/issues/1131

Who is online

Users browsing this forum: Bing [Bot] and 108 guests