[En-Nut-Discussion] Printing of 64bit integers

bon at elektron.ikp.physik.tu-darmstadt.de bon at elektron.ikp.physik.tu-darmstadt.de
Tue Sep 17 17:12:12 CEST 2013


Hello,

I have checked into SVN a workaround/fix for %f as printf() argument. The
problems seems to be caused by a gcc problem with va_list alignment:

https://answers.launchpad.net/gcc-arm-embedded/+question/235875

Also added is printing of 64-bit integers. This increases buf[]/blanks[] and
zeros[] in crt/putf.c from 16 to 32 bytes. As AVR uses RAM for these items,
pressure on RAM is increased. Maybe AVR users will need a configuration item
where 64bit integer are only pulled from the va_list, but not handled with
some indicator printed.

For the case of a %f argument with STDIO_FLOATING_POINT not defined, I added
a printout of "NA" as indicator of a not handled argument.

Bye
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------


More information about the En-Nut-Discussion mailing list