mirror of
https://github.com/apache/nuttx.git
synced 2026-09-02 07:03:04 +00:00
s32k1xx: Allow building with debug features and no console.
This commit is contained in:
parent
53dcddc9e3
commit
68db81ab4f
2 changed files with 2 additions and 2 deletions
|
|
@ -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) &
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue