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:75

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:6subsys/bluetooth/Kconfig:159

Menu path: (Top) → 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.)