I am attempting to enable the esp32s3 USB Serial/JTAG console for serial console input/output as per the instructions on https://docs.espressif.com/projects/esp ... nsole.html. All that is apparently required is to set the CONFIG_ESP_CONSOLE_UART option in menuconfig. However, whenever I do this, I get compile errors. Depending on the version of the IDF, the error can be different:
Via docker image espressif/idf:release-v5.1:
Code: Select all
error: implicit declaration of function 'ESP_CONSOLE_DEV_UART_CONFIG_DEFAULT'
Code: Select all
error: unknown type name 'esp_console_dev_uart_config_t';
error: implicit declaration of function 'ESP_CONSOLE_DEV_UART_CONFIG_DEFAULT';
There have been a number of issues raised on github around this area (https://github.com/espressif/esp-idf/issues/11896, https://github.com/espressif/esp-idf/issues/11924, https://github.com/espressif/esp-idf/issues/5716) but they seem to be fixes for specific chips or a specific app in the examples.
I can raise an issue on github, but I thought I would first check whether I am missing something - should this work and, if so, on which versions of the IDF?