Don't compile dump_assert_info logic if CONFIG_DEBUG_ALERT=n With _alert() disabled this logic does nothing, but the compiler is not smart enough to optimize this code. on minimal stm32f3 configuration it saves 220B of flash. |
||
|---|---|---|
| .. | ||
| assert.c | ||
| CMakeLists.txt | ||
| coredump.c | ||
| coredump.h | ||
| deadlock.c | ||
| Make.defs | ||
| panic_notifier.c | ||
| reboot_notifier.c | ||