• Alessandro Rubini's avatar
    uart: fix return value and add puts with a standard prototype · 141752e4
    Alessandro Rubini authored
    We include newlib headers (and link part of newlib), so any
    locally-defined function must have the same prototype as standard
    ones. We'll soon nee a "puts" implementation for pp_printf, so this
    adds puts as an alias of uart_write_string (at no size cost) and makes
    uart_write_string itself return integer (this costs a few bytes).
    
    While I'm at it, change uart_write_byte to be slightly faster.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    141752e4
Name
Last commit
Last update
..
hw Loading commit data...
eeprom.h Loading commit data...
endpoint.h Loading commit data...
i2c.h Loading commit data...
inttypes.h Loading commit data...
irq.h Loading commit data...
minic.h Loading commit data...
onewire.h Loading commit data...
pps_gen.h Loading commit data...
sfp.h Loading commit data...
shell.h Loading commit data...
sockitowm.h Loading commit data...
spll_defs.h Loading commit data...
stdint.h Loading commit data...
syscon.h Loading commit data...
timer.h Loading commit data...
trace.h Loading commit data...
types.h Loading commit data...
uart.h Loading commit data...
util.h Loading commit data...
wrc.h Loading commit data...