You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DEBUG builds stopped working with ESP32-C3 boards with esp-idf 5.3.x. It causes a crash very early in startup, before main, which appears to be due to serial startup problems. See below for details.
9.1.4 works; 9.2.0-beta.0 (which starts with ESP-IDF 5.3.1) does not.
ports/espressif/esp-idf-config/sdkconfig-debug.defaults was changed between these versions to include:
CONFIG_ESP_CONSOLE_SECONDARY_NONE=y
# CONFIG_ESP_CONSOLE_SECONDARY_USB_SERIAL_JTAG is not set
Taking these away, singly or together, or changing them to the opposite value, causes link errors like:
/home/halbert/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/13.2.0/../../../../riscv32-esp-elf/bin/ld: build-adafruit_qtpy_esp32c3/esp-idf/esp-idf/esp_vfs_console/libesp_vfs_console.a(vfs_console.c.obj): in function `esp_vfs_console_register':
/home/halbert/repos/circuitpython/ports/espressif/esp-idf/components/esp_vfs_console/vfs_console.c:197:(.text.esp_vfs_console_register+0x10): undefined reference to `esp_vfs_usb_serial_jtag_get_vfs'
Here is a typical crash (as printed on TX/RX on QT Py ESP32-C3)
DEBUG builds stopped working with ESP32-C3 boards with esp-idf 5.3.x. It causes a crash very early in startup, before main, which appears to be due to serial startup problems. See below for details.
9.1.4 works; 9.2.0-beta.0 (which starts with ESP-IDF 5.3.1) does not.
ports/espressif/esp-idf-config/sdkconfig-debug.defaults
was changed between these versions to include:Taking these away, singly or together, or changing them to the opposite value, causes link errors like:
Here is a typical crash (as printed on TX/RX on QT Py ESP32-C3)
tools/decode_backtrace.py
produces the output below. Notice theesp_vfs_console
addresses.The text was updated successfully, but these errors were encountered: