Skip to content

v0.12.0-esp32-20240318

Compare
Choose a tag to compare
@gerekon gerekon released this 20 Mar 09:00
· 458 commits to master since this release

Features:

  • target/esp32p4: Added flasher support.
  • target/esp32p4: Added custom registers support.
  • tcl/board: Added ESP32-P4 config files.
  • rtos/FreeRTOS: Added ESP32-P4 support.

Bug fixes:

  • flash/esp: Fixed storing of a vaddr as a paddr for DROM flash bank. Close #318.
  • Some typo fixes regarding ESP / RiscV files. Close #314.
  • rtos/nuttx: Added sanity checks during thread updates. Added checks for the values read from target.
  • target/esp32p4: Fixed max hw bp/wp nums.
  • target/esp32p4: Fixed soc reset function.
  • target/esp32p4: Writeback cache before memory read/write. While halted memory access works fine with the help of fence instruction, runtime memory reads returned garbage values. The issue is resolved by performing cache synchronization before memory read/write operations.
  • target/esp_riscv: Ensure reading/writing aligned memory address. SBA access requires 4 byte alignment.
  • target/esp: Avoided reading invalid apptrace config addresses. We may read mem_cfg_addr as zero, when target algorithm code is not running yet. For some targets (e.g. esp32p4), reading invalid address will be an error.
  • contrib/loaders/flash/esp: Fixed last data chunk padding when writing to flash. This could cause to attempt to write beyond flash boundaries.
  • flash/nor/esp: Fixed target endianess handling for flash mappings structs.
  • flash/esp_xtensa: Removed limitation for accessing lower flash addresses. Removes SW limitation for writing flash 0x1000 for ESP32 and ESP32-S2.
  • flash/nor: Fixed handling of zero-size flash chips in get_flash_bank_by_addr. Led to assertion failure when ESP virtual flash banks have zero size, e.g. there is no app image in flash, so flah mappings are not available.

Other:

  • rtos/nuttx: Updated TCB structure for the recent Nuttx changes.
  • target/esp32p4: Reordered mem access to better cache handling.
  • loaders/espressif: Added license info to the flasher stub headers.
  • tcl/target: Renamed ESP32_ONLYCPU with ESP_ONLYCPU TCL config variable.
  • tcl/target: Added esp_gcov wrapper TCL functions for esp gcov command.
  • flash/esp: Avoided probing flash bank for simple flash/flasher config commands.
  • Synchronized with upstream