This is a minor release, including new features, improvements, and bug fixes
across several platforms.
📈 Added
-
General:
- Added a compile-time check in the FreeRTOS metrics port
(ports/freertos/src/memfault_metrics_freertos.c)
that errors ifconfigTIMER_TASK_STACK_DEPTHis less than 256 words. The
metrics heartbeat timer callback runs on the FreeRTOS timer daemon task, and
a stack that's too small risks overflow. If you're confident your configured
stack depth is sufficient, define
MEMFAULT_METRICS_FREERTOS_DISABLE_TIMER_TASK_STACK_DEPTH_CHECKto silence
the check.
- Added a compile-time check in the FreeRTOS metrics port
-
nRF Connect SDK:
- Add a new Metrics Session helper for tracking Bluetooth connection and
disconnect code. Zephyr bluetooth systems will have the session metric
automatically captured when Memfault Bluetooth metrics are enabled
(CONFIG_MEMFAULT_METRICS_BLUETOOTH=y).
- Add a new Metrics Session helper for tracking Bluetooth connection and
🐛 Fixed
-
Zephyr:
- Fixed a compatibility issue in the nrf MRAM coredump backend
(ports/zephyr/common/coredump_storage/memfault_mram_backed_coredump.c),
due to an upstream change that added a mutex in theflash_write()path.
The coredump backend now directly writes to MRAM, bypassing the driver,
similar to how the RRAM implementation works.
- Fixed a compatibility issue in the nrf MRAM coredump backend
🛠️ Changed
-
Zephyr:
- Rename the Memfault SDK's Zephyr library name to a stable name:
memfault-firmware-sdk. Previously, the name was generated based on the
filepath, therefore references could change depending on where the SDK
source was in the workspace relative to the project root. Thanks to
@nordicjm for providing this fix in
#125 🎉!
- Rename the Memfault SDK's Zephyr library name to a stable name: