Completely remove the file info and condition expression from the the print statement if they are not enabled. This saves a little code space which adds up when there are many assert calls. In bluetooth shell test this saves around 4.5k bytes. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| __assert.h | ||
| arch_interface.h | ||
| atomic.h | ||
| base64.h | ||
| byteorder.h | ||
| crc.h | ||
| dlist.h | ||
| errno_private.h | ||
| fdtable.h | ||
| libc-hooks.h | ||
| list_gen.h | ||
| math_extras_impl.h | ||
| math_extras.h | ||
| mempool_base.h | ||
| mempool.h | ||
| mutex.h | ||
| printk.h | ||
| rb.h | ||
| ring_buffer.h | ||
| sem.h | ||
| sflist.h | ||
| slist.h | ||
| speculation.h | ||
| sys_io.h | ||
| time_units.h | ||
| timeutil.h | ||
| util.h | ||