Hello
The GCC sprintf() does seem to require heap and so can be a problem for devices with small RAM footprints. You write K05 but I think you mean KL05 (?)
Are you sure you need sprintf()?
In the uTasker project functions like
extern CHAR *fnBufferHex(unsigned long ulValue, unsigned char uLen, CHAR *pBuf); // take a value and convert it to a string in a buffer
extern CHAR *fnBufferDec(signed long slNumberToConvert, unsigned char ucStyle, CHAR *ptrBuf); // take a value and convert it to a string in a buffer
allow most output formatting with very low overhead.
Regards
Mark
Kinetis: µTasker Kinetis support
KL05: µTasker FRDM-KL05Z support
For the complete "out-of-the-box" Kinetis experience and faster time to market