imxrt:syslog is dependant on arm_lowputc
This commit is contained in:
parent
3c1ac89557
commit
90cfa6f313
@ -567,9 +567,10 @@ int imxrt_lpuart_configure(uint32_t base,
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(HAVE_LPUART_DEVICE) && defined(CONFIG_DEBUG_FEATURES)
|
||||
#if defined(HAVE_LPUART_DEVICE)
|
||||
void imxrt_lowputc(int ch)
|
||||
{
|
||||
#ifdef HAVE_LPUART_CONSOLE
|
||||
while ((getreg32(IMXRT_CONSOLE_BASE + IMXRT_LPUART_STAT_OFFSET) &
|
||||
LPUART_STAT_TDRE) == 0)
|
||||
{
|
||||
@ -599,5 +600,6 @@ void imxrt_lowputc(int ch)
|
||||
/* Send the character by writing it into the UART_TXD register. */
|
||||
|
||||
putreg32((uint32_t)ch, IMXRT_CONSOLE_BASE + IMXRT_LPUART_DATA_OFFSET);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
@ -96,7 +96,7 @@ int imxrt_lpuart_configure(uint32_t base,
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(HAVE_LPUART_DEVICE) && defined(CONFIG_DEBUG_FEATURES)
|
||||
#if defined(HAVE_LPUART_DEVICE)
|
||||
void imxrt_lowputc(int ch);
|
||||
#else
|
||||
# define imxrt_lowputc(ch)
|
||||
|
Loading…
Reference in New Issue
Block a user