This source replaces the standard printf() and sprintf() functions in the compiler C library with a VERY low resource version with a limited set of features and output types.
Features of tinyprintf include:
â€¢ %c character
â€¢ %d,%i signed integer (-sign added if needed)
â€¢ %s character string
â€¢ %u unsigned integer as decimal
â€¢ %x or %X unsigned integer as hexadecimal (uppercase)
â€¢ %% to write %
Normal printf()/sprintf() implementations on ARM have been measure at ~25K of flash space, using tinyprintf2 can restore ~24K of flas...
Sign Up For Full Access
Members gain full access to the Prosource library with dozens of source files for ARM Cortex, ATMega, PIC processors
as well as desktop and embedded Linux systems. Solutions for bootloaders, Buildroot and Yocto targets as well as guided articles
on embedded development to gain critical knowledge in new systems and speed up development.