tillitis / tkey-libs

TKey device libs
GNU General Public License v2.0
4 stars 2 forks source link

Hide debug functions #20

Closed mchack-work closed 1 year ago

mchack-work commented 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.

mchack-work commented 1 year ago

See

https://github.com/tillitis/tkey-libs/pull/15 https://github.com/tillitis/dev-tillitis/pull/24 for documentation.