The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_BT_ASSERT_PANIC

Use k_panic() instead of k_oops()

Type: bool

Help

When CONFIG_BT_ASSERT is enabled, this option makes the code call
k_panic() instead of k_oops() when an assertion is triggered.

Direct dependencies

BT_ASSERT && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/bluetooth/common/Kconfig:259

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:9subsys/bluetooth/Kconfig:173

Menu path: (Top) → Sub Systems and OS Services → Bluetooth → Custom Bluetooth assert implementation

config BT_ASSERT_PANIC
    bool "Use k_panic() instead of k_oops()"
    depends on BT_ASSERT && BT_HCI && BT
    help
      When CONFIG_BT_ASSERT is enabled, this option makes the code call
      k_panic() instead of k_oops() when an assertion is triggered.

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