KL: Now builds up_puts

This commit is contained in:
Gregory Nutt 2013-10-01 11:51:27 -06:00
parent 9a634c882d
commit efb1695c0c
3 changed files with 13 additions and 2 deletions

View File

@ -68,8 +68,9 @@
void up_puts(const char *str)
{
while(*str)
while (*str)
{
up_putc(*str++);
}
}

View File

@ -41,7 +41,7 @@ CMN_ASRCS += up_switchcontext.S vfork.S
CMN_CSRCS = up_allocateheap.c up_assert.c up_blocktask.c up_copyfullstate.c
CMN_CSRCS += up_createstack.c up_mdelay.c up_udelay.c up_exit.c
CMN_CSRCS += up_initialize.c up_initialstate.c up_interruptcontext.c
CMN_CSRCS += up_modifyreg8.c up_modifyreg16.c up_modifyreg32.c
CMN_CSRCS += up_puts.c up_modifyreg8.c up_modifyreg16.c up_modifyreg32.c
CMN_CSRCS += up_releasepending.c up_releasestack.c up_reprioritizertr.c
CMN_CSRCS += up_schedulesigaction.c up_sigdeliver.c up_systemreset.c
CMN_CSRCS += up_unblocktask.c up_usestack.c up_doirq.c up_hardfault.c

View File

@ -1121,6 +1121,16 @@ int up_putc(int ch);
int up_getc(void);
/****************************************************************************
* Name: up_puts
*
* Description:
* Output a string on the console
*
****************************************************************************/
void up_puts(FAR const char *str);
#ifdef __cplusplus
}
#endif