.. _external_module_memfault_firmware_sdk: 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 :ref:`module `, add it as a West project in the :file:`west.yaml` file with the following content and run :command:`west update`: .. code-block:: yaml 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`_. Reference ********* .. _memfault-firmware-sdk: https://github.com/memfault/memfault-firmware-sdk .. _Memfault Firmware SDK License: https://github.com/memfault/memfault-firmware-sdk/blob/master/LICENSE .. _memfault-firmware-sdk documentation: https://docs.memfault.com/docs/mcu/introduction .. _memfault-firmware-sdk Zephyr guide: https://docs.memfault.com/docs/mcu/zephyr-guide .. _memfault-firmware-sdk examples: https://github.com/memfault/memfault-firmware-sdk/tree/master/examples .. _Memfault: https://memfault.com/