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 <Zephyr>/subsys/bluetooth/common/Kconfig:256

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/subsys/Kconfig:9<Zephyr>/subsys/bluetooth/Kconfig:312

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.)