diff --git a/arch/z16/src/common/up_initialize.c b/arch/z16/src/common/up_initialize.c index b7fc643d23..0a6a220f81 100644 --- a/arch/z16/src/common/up_initialize.c +++ b/arch/z16/src/common/up_initialize.c @@ -53,7 +53,10 @@ * Definitions ****************************************************************************/ -/* Define to enable timing loop calibration */ +/* Define to enable timing loop calibration. CONFIG_DEBUG and + * CONFIG_ARCH_LOWPUTC must also be enabled in the .config file because + * the logic uses lldbg() + */ #undef CONFIG_ARCH_CALIBRATION @@ -90,7 +93,7 @@ FAR chipreg_t *current_regs; * ****************************************************************************/ -#if defined(CONFIG_ARCH_CALIBRATION) & defined(CONFIG_DEBUG) +#if defined(CONFIG_ARCH_CALIBRATION) & defined(CONFIG_DEBUG) && defined(CONFIG_ARCH_LOWPUTC) static void up_calibratedelay(void) { int i;