Custom UART1 TX/RX to GPIO17/GPIO16 pins

moggiozzi
Posts: 2
Joined: Thu Feb 06, 2020 11:57 am

Custom UART1 TX/RX to GPIO17/GPIO16 pins

Postby moggiozzi » Thu Feb 06, 2020 12:50 pm

I configure project with:

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
I flash chip with new compiled build/bootloader.bin & build/myapp.bin.
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)

Who is online

Users browsing this forum: cdollar and 114 guests