Log output on UART1 does not work any more
Posted: 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:
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?
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();