1.. _module-pw_assert_zephyr: 2 3================ 4pw_assert_zephyr 5================ 6 7-------- 8Overview 9-------- 10This assert backend implements the ``pw_assert`` facade, by routing the assert 11message to the Zephyr assert subsystem. Failed asserts will call ``k_panic()``. 12To enable the assert module, set ``CONFIG_PIGWEED_ASSERT=y``. After that, 13Zephyr's assert configs can be used to control the behavior via CONFIG_ASSERT_ 14and CONFIG_ASSERT_LEVEL_. 15 16.. _CONFIG_ASSERT: https://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_ASSERT.html#std-kconfig-CONFIG_ASSERT 17.. _CONFIG_ASSERT_LEVEL: https://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_ASSERT_LEVEL.html#std-kconfig-CONFIG_ASSERT_LEVEL