config: Introduce DEBUG_CONFIG macro for debug output of config

This commit is contained in:
Tim Ruffing
2022-07-06 15:10:34 +02:00
parent d0cf55e13a
commit da6514a04a
3 changed files with 22 additions and 0 deletions

View File

@@ -13,7 +13,15 @@
#ifndef ECMULT_WINDOW_SIZE
# define ECMULT_WINDOW_SIZE 15
# ifdef DEBUG_CONFIG
# pragma message DEBUG_CONFIG_MSG("ECMULT_WINDOW_SIZE undefined, assuming default value")
# endif
#endif
#ifdef DEBUG_CONFIG
# pragma message DEBUG_CONFIG_DEF(ECMULT_WINDOW_SIZE)
#endif
/* Noone will ever need more than a window size of 24. The code might
* be correct for larger values of ECMULT_WINDOW_SIZE but this is not
* tested.