Code: Select all
CONFIG_ESP_CONSOLE_UART_CUSTOM=y
# CONFIG_ESP_CONSOLE_UART_NONE is not set
# CONFIG_ESP_CONSOLE_UART_CUSTOM_NUM_0 is not set
CONFIG_ESP_CONSOLE_UART_CUSTOM_NUM_1=y
CONFIG_ESP_CONSOLE_UART_NUM=1
CONFIG_ESP_CONSOLE_UART_TX_GPIO=17
CONFIG_ESP_CONSOLE_UART_RX_GPIO=16
When i use ESP-IDF v3.2 log console output to uart1 works, but with v3.3 and 4.1 can't.
When i use bootloader.bin compiled with ESP-IDF v3.2 and myapp.bin compiled with v4.1 outputs also work.
It's Bug or I can't use GPIO17/GPIO16 pins for UART1 custom logging?
Testing ESP-IDF versions:
Code: Select all
c:\esp32_323\esp-idf>git show
commit ca1e5e5bc52182a577f1706c8dcbb4d9d7afe310 (HEAD, tag: v3.2.3)
c:\esp32_4\esp-idf>git show
commit 143d26aa49df524e10fb8e41a71d12e731b9b71d (HEAD, tag: v3.3.1, origin/release/v3.3)
c:\esp32_4_1\esp-idf>git show
commit aedf89237f847b7d288b74af56856ff727c1c76b (HEAD -> release/v4.1, origin/release/v4.1)