CONFIG_MEMFAULT_METRICS_TIMER_CUSTOM

Provide a custom implementation of Memfault Metric Deps

Type: bool

Help

By default the Memfault SDK makes use of Zephyrs k_timer_* to
schedule the heartbeat timer and k_work_* to run the heartbeat callback
work. This option can be used to disable that implementation in
ports/zephyr/common/memfault_platform_metrics.c and allow for
a custom implementation of memfault_platform_metrics_timer_boot() to be provided

Direct dependencies

MEMFAULT_METRICS && MEMFAULT

(Includes any dependencies from ifs and menus.)

Default

  • n

Kconfig definition

At /home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/lib/memfault-firmware-sdk/ports/zephyr/Kconfig:236

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:38

Menu path: (Top) → Modules → memfault-firmware-sdk (/home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/lib/memfault-firmware-sdk) → MEMFAULT Support → Enable the memfault Metrics subsystem

config MEMFAULT_METRICS_TIMER_CUSTOM
    bool "Provide a custom implementation of Memfault Metric Deps"
    default n
    depends on MEMFAULT_METRICS && MEMFAULT
    help
      By default the Memfault SDK makes use of Zephyrs k_timer_* to
      schedule the heartbeat timer and k_work_* to run the heartbeat callback
      work. This option can be used to disable that implementation in
      ports/zephyr/common/memfault_platform_metrics.c and allow for
      a custom implementation of memfault_platform_metrics_timer_boot() to be provided

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)