memfault-firmware-sdk
Introduction
memfault-firmware-sdk provides embedded developers with built-in remote debugging, performance monitoring, and OTA update capabilities for MCU-based devices. It automatically captures crash reports, logs, and stack traces from devices in the field, making it easier to diagnose issues without physical access. The SDK also collects lightweight performance metrics such as memory usage, battery life, connectivity, and firmware stability to track fleet reliability over time.
The SDK communicates with the Memfault platform, which aggregates this data so teams can prioritize and resolve issues faster. In addition, the SDK supports over-the-air firmware updates, enabling controlled rollouts and remote deployment of new releases.
The SDK is protected under a custom BSD-style license with service-specific use restrictions. See the Memfault Firmware SDK License for more details.
Usage with Zephyr
To pull in memfault-firmware-sdk as a Zephyr module, add it as a West project
in the west.yaml file with the following content and run west update:
manifest:
remotes:
# Add the Memfault GitHub repo
- name: memfault
url-base: https://github.com/memfault
projects:
# Add the Memfault SDK
- name: memfault-firmware-sdk
path: modules/lib/memfault-firmware-sdk
revision: 1.33.0
remote: memfault
Note
The revision shown above is an example. Check the memfault-firmware-sdk releases page for the latest release tag to ensure you are using the desired version.
For more detailed instructions and API documentation, refer to the memfault-firmware-sdk documentation as well as the provided memfault-firmware-sdk examples.