Skip to content

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 16 Nov 13:39
· 2 commits to main since this release
5d19c5e

Added

  • pio_decode_backtrace unwinds RISC-V ESP32 panics (C2, C3, C5, C6, C61, H2, H4, P4, S31) into a full call chain. The register dump and Stack memory: block go to the toolchain's riscv32-esp-elf-gdb through Espressif's esp-idf-panic-decoder, now a dependency. pio_flash_and_verify gets the same decoding on a crash. Results carry arch, method (gdb_unwind, stack_scan or addr2line) and the crashed core. Prompted by Jason2866's ESP-Decoder; see docs/adr/0001-riscv-unwinding-via-esp-idf-panic-decoder.md for why the code comes from Espressif.
  • Without GDB, RISC-V decoding symbolizes MEPC, RA and stack words that point into code (role: stack_scan), and the summary gives the command that installs GDB.
  • README section on pioarduino: tested tools, the Python 3.10 to 3.14 requirement, and the ESP32-C2 hybrid-compile rebuild.
  • Multi-core RISC-V panic output is cut down to the core named in Core N panic'ed. A serial buffer holding several crashes decodes the last one, with that crash's registers, cause and reset reason only.

Fixed

  • pio_partition_table finds the framework's default partition CSV on pioarduino, which splits the Arduino framework into framework-arduinoespressif32 and framework-arduinoespressif32-libs.
  • A0 in a RISC-V register dump is no longer reported as a return address. It is the first function argument on RISC-V and usually points at data.

Changed

  • Release workflow uses actions/upload-artifact v7 and actions/download-artifact v8.

Security

  • opentelemetry-api 1.45.2 in the lock file fixes quadratic-time traceparent parsing that allowed denial of service (Dependabot alert 5).