[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with printk() function



On 12/19/2011 10:24 AM, Hoover, Victor P CTR NAVAIR, AIR 4.1.3.3 wrote:
> The question really becomes, is it supposed to support precision values.

No, only the width field is supported.

>
>>> >  >
>>> >  >  b)  If the format string does not end with a newline character, no
>> >  output is
>>> >  >        displayed.
>> >
>> >  This is probably a problem with the program which displays the output.
> I'm not clear on what program you're referring to here.  I'm working with
> the MVME162 BSP.  Originally it did not have low level support for printk()
> in the BSP; I added it.  The function that gets called to handle the output
> accepts and displays a single character at a time.  The problem would have
> to be at a higher level than the BSP code to exhibit this behavior.
>

The printk() outputs the characters one by one.  How do you display the character?

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine gesch?ftliche Mitteilung im Sinne des EHUG.