Closed mchack-work closed 1 year ago
Hide debug functions with pre-processor magic in qemu_debug.h. Define QEMU_DEBUG when compiling your device app to make the real functions to be used. Otherwise they will just be expanded to empty strings by macros.
qemu_debug.h
QEMU_DEBUG
See
https://github.com/tillitis/tkey-libs/pull/15 https://github.com/tillitis/dev-tillitis/pull/24 for documentation.
Hide debug functions with pre-processor magic in
qemu_debug.h
. DefineQEMU_DEBUG
when compiling your device app to make the real functions to be used. Otherwise they will just be expanded to empty strings by macros.