Skip to content

1.21.0

Choose a tag to compare

@memfault-bot memfault-bot released this 06 Mar 14:38

📈 Added

  • General:

    • Logs captured by Memfault now include a timestamp by default, when the
      platform implements memfault_platform_time_get_current(). This feature can
      be disabled by setting #define MEMFAULT_LOG_TIMESTAMPS_ENABLE 0 in
      memfault_platform_config.h.
  • ESP-IDF:

    • Add new built-in Wi-Fi metrics:

      • wifi_primary_channel - the primary channel ID of the associated Wi-Fi
        access point
      • wifi_auth_mode - the authentication mode of the associated Wi-Fi access
        point, for example WPA2_PSK
      • wifi_standard_version - the Wi-Fi version of the associated Wi-Fi access
        point, for example 802.11n

      These metrics are enabled by default and can be disabled (along with other
      built-in Wi-Fi metrics) with the Kconfig option
      CONFIG_MEMFAULT_ESP_WIFI_METRICS

🛠️ Changed

  • ESP-IDF:

    • Support cases where the IDF_VER build variable is set to
      "HEAD-HASH-NOTFOUND" (i.e. using an ESP-IDF SDK that is not a git repo),
      when setting the built-in metric MemfaultSdkMetric_os_version. In this
      case, the value is taken from the ESP_IDF_VERSION_x macros, which are less
      precise.

    • Use more specific Memfault reset reason codes for these watchdog reset
      types, previously all categorized as HardwareWatchdog

      • ESP_RST_INT_WDT -> SoftwareWatchdog
      • ESP_RST_TASK_WDT -> TaskWatchdog
      • ESP_RST_WDT (RTC watchdog, the real hardware watchdog), stays as
        HardwareWatchdog

🐛 Fixed

  • ESP-IDF:

    • Correctly set the Memfault Firmware SDK version inside the
      espressif component
      version of the SDK. Prior to this fix, the SDK version reports as
      "MemfaultSdkMetric_sdk_version": "0.0.0". No change to the SDK, only a
      tooling/release change.