zephyr/subsys/debug
Guðni Már Gilbert f32223aac5 debug: ASSERT_VERBOSE depends on PRINTK
When both PRINTK and ASSERT are disabled, the firmware image will still
contain a symbol for assert_print function which increases the memory
footprint by 14 bytes. In this case the function doesn't do anything and
so these 14 bytes are not useful.

This change also reduces the memory footprint elsewhere such as in the
bluetooth subsystem which implements BT_ASSERT_VERBOSE. Now it will be
nop. On nRF52832 this is on the order of 300 - 400 bytes when configured
for peripheral only (just as an example).

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
2025-05-29 15:16:41 +01:00
..
coredump debug: coredump: coredump_backend_flash: Update checksum only on success 2025-05-29 12:05:42 +02:00
coresight debug: coresight: Add coresight_trace_deformatter 2024-08-12 19:23:19 -04:00
gdbstub debug: gdbstub: Re-enable warning 2025-02-21 04:46:12 +01:00
symtab debug: symtab: fix ignored type qualifiers on func return type 2024-11-06 09:52:36 -08:00
thread_analyzer debug: thread_analyzer: move thread analyzer to own folder 2025-04-04 07:42:20 +02:00
asan_hacks.c debug: asan: Added leak suppression for SDL2 & X11 2019-12-09 16:38:48 -05:00
CMakeLists.txt debug: thread_analyzer: move thread analyzer to own folder 2025-04-04 07:42:20 +02:00
cpu_load.c debug: cpu_load: Add missing static keyword 2025-04-16 14:53:30 +02:00
Kconfig debug: ASSERT_VERBOSE depends on PRINTK 2025-05-29 15:16:41 +01:00
mipi_stp_decoder.c debug: mipi_stp_decoder: Avoid potential 64bit unaligned access 2024-10-09 13:45:04 +02:00
thread_info.c arch: nios2: remove arch 2025-05-15 20:01:05 -04:00