CONFIG_SPM_NS_DEBUG_LOGS_DUMP

Enable dumping non-secure logs on secure fault

Type: bool

Help

When enabled secure fault handler is calling a non-secure handler to
synchronously dump all pending logs. Feature is only for debugging
purposes and is considered a security violation. It requires specific
spm configuration with SPM_SHARE_CONSOLE_UART and
SPM_SERVICE_NS_HANDLER_FROM_SPM_FAULT enabled.

Direct dependencies

SPM_SERVICE_NS_HANDLER_FROM_SPM_FAULT && SPM

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <nRF>/subsys/spm/Kconfig:21

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:92<nRF>/subsys/Kconfig:30

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → SPM → Use Secure Partition Manager

config SPM_NS_DEBUG_LOGS_DUMP
    bool "Enable dumping non-secure logs on secure fault"
    depends on SPM_SERVICE_NS_HANDLER_FROM_SPM_FAULT && SPM
    help
      When enabled secure fault handler is calling a non-secure handler to
      synchronously dump all pending logs. Feature is only for debugging
      purposes and is considered a security violation. It requires specific
      spm configuration with SPM_SHARE_CONSOLE_UART and
      SPM_SERVICE_NS_HANDLER_FROM_SPM_FAULT enabled.

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