Skip to content

v0.10.0-esp32-20210329

Compare
Choose a tag to compare
@igrr igrr released this 29 Mar 21:53
· 4359 commits to master since this release

2021/03/29 Release, based on OpenOCD v0.10.0

Features

  • flash/esp_xtensa: Added compression support for write operations. Compression can be enabled by adding compress argument to program_esp command. Compression is not enabled by default, yet.
  • rtos/FreeRTOS: Changed task list update algorithm basing on uxTaskNumber. This reduces the amount of data transferred over JTAG in some cases, and makes stepping through the code faster.
  • target/esp32c3: Added SoC reset support. reset halt command now resets the digital peripherals, in addition to the CPU, same as it does on esp32 and esp32s2.
  • target/esp32c3: Reduced timeouts to reasonable values
  • board/esp32c3-ftdi: set lower JTAG clock used by default. Since there is no development board with FT2232H and ESP32-C3 yet, they are most likely connected by jumper cables, so a lower frequency should be used.
  • xtensa: Made 'xtensa_smpbreak_get' returning configured value

Bug fixes:

  • esp32s3: Disabled flash support by default, since it's not implemented yet. It will be re-enabled once the feature is implemented.
  • esp/semihost: Added callback to disable WDTs upon syscall.
  • riscv: Maintain target halted state across reset
  • riscv: Fixed RTOS checks in reset procedure
  • riscv: Fixed semihosting code to adjust the PC to the next instruction also for GDB fileio
  • esp/gcov: Ensured that esp gcov dump is run on examined target
  • esp/gcov: Fixed acknowledgement of the block with command w/o response data
  • esp/gcov: Halt target before on-the-fly gcov dump
  • semihosting: Fixed file name length parameter for GDB File IO to match GDB docs.
  • xtensa: Marked target as unexamined when 'powered' bit is reset during several polling periods.
  • In this release we have stared running the test suite with sanitizers (AddressSanitizer, UndefinedBehaviorSanitizer) enabled, and fixed the following issues:
    • target/esp_xtensa_apptrace: Fixed 'unaligned buffer' issue
    • esp32s2: Fixed left shift runtime errors found by sanitizers
    • gdb_server: Fixed AdressSanitizer issue caused by missing null character
    • xtensa: Fixed sanitizer warnings when shifting integer constants
    • xtensa: Fixed buffer overflow due to incorrect size allocated for wide user registers
    • xtensa: Fixed buffer overflow when reading trace data