zephyr/subsys/bluetooth/common
Carles Cufi aa960c9d6e Bluetooth: log: Rework BT_ASSERT
Rework the BT_ASSERT infrastructure with the following changes:

- Transition from LOG() macros to printk()
- Allow the BT_ASSERT() macro to map directly to stancard __ASSERT()
- Allow printing of the assert reason to be disabled
- Switch from k_oops() to k_panic() configurable

There are 2 reasons for using printk() instead of LOG():

- BT_ERR uses deferred logging by default, which is problematic with
ASSERTs
- The __ASSERT() macro in Zephyr uses printk()

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2019-09-07 15:50:23 +03:00
..
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
dummy.c
Kconfig Bluetooth: log: Rework BT_ASSERT 2019-09-07 15:50:23 +03:00
log.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
log.h Bluetooth: log: Rework BT_ASSERT 2019-09-07 15:50:23 +03:00
rpa.c cleanup: include/: move misc/stack.h to debug/stack.h 2019-06-27 22:55:49 -04:00
rpa.h