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> |
||
---|---|---|
.. | ||
coredump | ||
coresight | ||
gdbstub | ||
symtab | ||
thread_analyzer | ||
asan_hacks.c | ||
CMakeLists.txt | ||
cpu_load.c | ||
Kconfig | ||
mipi_stp_decoder.c | ||
thread_info.c |