Skip to content

1.23.0

Compare
Choose a tag to compare
@memfault-bot memfault-bot released this 16 Apr 14:22

📈 Added

  • General:

    • Improved support for run time tracking on FreeRTOS kernel version v11 and
      later, by adding compile-time checks for possible configuration issues.

    • Add reboot reason decoding for the NXP RW61x chip series, using the
      PMU.SYS_RST_STATUS register to determine the reset reason. Add the file at
      ports/nxp/rw61x/pmu_reboot_tracking.c
      to your project to make use of it!

    • Add reboot reason decoding for the SiLabs SiWx91x chip series. This
      implementation supports Power On Reset, Pin Reset, and Software Reset
      causes only. Please reach out if you are interested in
      other reset reasons. Add the file at
      sdk/embedded/ports/silabs/wiseconnect/siwx91x/siwx91x_reboot_tracking.c
      to your project to make use of it.

    • Add an
      implementation of memfault_reboot_reason_get()
      for the STM32H5xx series of MCUs, using the RCC-RSR register to determine
      the reset reason. Add the file to your project to make use of it!

  • ESP-IDF:

    • Add 2 new out-of-box metrics:

      • spi_flash_chip_id : the 24-bit RDID value of the SPI flash chip, for
        example "c84017" = GigaDevice GD25Q64 8MiB
      • esp_chip_revision : the ESP32 chip and revision, for example
        esp32c6-0.0 or esp32s3-0.2
    • For ESP-IDF v5.5 and later, enable -ggdb3 by default for enhanced
      debugging. This is controlled with the Kconfig CONFIG_MEMFAULT_GGDB3.

    • Set the User-Agent to MemfaultSDK/<version> when sending HTTP requests to
      Memfault.

🛠️ Changed

  • General:

    • Updated the internally used clang-format version to 20.1.0, latest at time
      of writing. This resulted in a few minor format changes in the SDK.
  • Zephyr:

  • nRF-Connect SDK:

    • Update the nRF-Connect SDK examples to use the
      latest nRF-Connect SDK version, v2.9.1.

    • Update the nRF91 example to enable the
      DATETIME subsystem, to tag SDK event and log data with timestamps once the
      network connection is activated.

  • ESP-IDF:

    • Update the prv_panic_safe_putstr() implementation to perform better on
      modern ESP-IDF versions (>=4.4.0). This function is used to output local
      prints during panic handling.

    • Add a Kconfig CONFIG_MEMFAULT_DATA_CHUNK_HANDLERS_CUSTOM to allow
      overriding memfault_esp_port_data_available() and
      memfault_esp_port_get_chunk(). If other MCUs are forwarding data to an
      ESP32 for transport, enable this option and provide definitions to handle
      additional sources. By default, these functions only check the local device
      for available chunks.

🐛 Fixed

  • ESP-IDF:

    • Correctly print the initial delay and period in seconds for the periodic
      upload task. Previously, this info log print was using the value in
      milliseconds.