CONFIG_MEMFAULT_USER_CONFIG_SILENT_FAIL

Continue with build even if user configuration of Memfault SDK is missing

Type: bool

Help

When enabled, __has_include is used to conditionally include the three Memfault
configuration files to a port if they exist instead of failing to compile if
they do not:
memfault_platform_config.h
memfault_metrics_heartbeat_config.def
memfault_trace_reason_user_config.def

Direct dependencies

MEMFAULT

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

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

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

config MEMFAULT_USER_CONFIG_SILENT_FAIL
    bool "Continue with build even if user configuration of Memfault SDK is missing"
    default y
    depends on MEMFAULT
    help
      When enabled, __has_include is used to conditionally include the three Memfault
      configuration files to a port if they exist instead of failing to compile if
      they do not:
      memfault_platform_config.h
      memfault_metrics_heartbeat_config.def
      memfault_trace_reason_user_config.def

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