-
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.
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At <Zephyr>/subsys/bluetooth/common/Kconfig:75
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:8
→ <Zephyr>/subsys/bluetooth/Kconfig:238
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 onBT_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.)