Hi All, urgently need to find a cut version of printf, no need float point support. Only need to print out of integers in hex and decimal format. Using vprintf didn't give using RAM size reduction. Thanks, Vladimir
Graham Cole offers his stripped down printf() implementation about halfway through this thread: http://www.keil.com/forum/docs/thread2741.asp I think Jon Ward points out in that same thread that Keil does already offer two versions of printf(), one with floating point and one without.
"Only need to print out of integers in hex and decimal format." In that case, it's probably worth just writing your own two functions: print_hex_int() and print_dec_int()
Hi Drew, thanks for sending the link, it's very interesting to read. Probably "printf", which I use from Keil already doesn't have support of "float". It takes from my RAM 0x14 bytes, may be not so bad, but I wish to have less losses.
Hi Andy, thank you, I thought about that too. I'm just too lazy to do updating my projects, probably I would make it as the last resort.