s32k1xx: Allow building with debug features and no console.

This commit is contained in:
Carlos Sanchez 2022-09-30 10:50:45 +02:00 committed by Petro Karashchenko
parent 53dcddc9e3
commit 68db81ab4f
2 changed files with 2 additions and 2 deletions

View File

@ -385,7 +385,7 @@ int s32k1xx_lpuart_configure(uint32_t base,
*
****************************************************************************/
#if defined(HAVE_LPUART_DEVICE) && defined(CONFIG_DEBUG_FEATURES)
#if defined(HAVE_LPUART_CONSOLE) && defined(CONFIG_DEBUG_FEATURES)
void s32k1xx_lowputc(int ch)
{
while ((getreg32(S32K1XX_CONSOLE_BASE + S32K1XX_LPUART_STAT_OFFSET) &

View File

@ -98,7 +98,7 @@
*
****************************************************************************/
#ifdef CONFIG_DEBUG_FEATURES
#if defined(HAVE_LPUART_CONSOLE) && defined(CONFIG_DEBUG_FEATURES)
# define showprogress(c) s32k1xx_lowputc(c)
#else
# define showprogress(c)