CONFIG_BT_ASSERT

Custom Bluetooth assert implementation

Type: bool

Help

Use a custom Bluetooth assert implementation instead of the
kernel-wide __ASSERT() when CONFIG_ASSERT is disabled.

Direct dependencies

BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Zephyr>/subsys/bluetooth/common/Kconfig:240

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:9<Zephyr>/subsys/bluetooth/Kconfig:305

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

config BT_ASSERT
    bool "Custom Bluetooth assert implementation"
    default y
    depends on BT_HCI && BT
    help
      Use a custom Bluetooth assert implementation instead of the
      kernel-wide __ASSERT() when CONFIG_ASSERT is disabled.

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