The sprintf function executes the floating point type conversion processing, which results in increase of size. If the floating point type conversion is not executed, add the dummy function _Ldtob() to C source as shown below to compress the code size. Example) #include <stdio.h> char buf[32]; void main(void) { sprintf(buf, "test"); }
void _Ldtob(void *p, char code){} // Dummy function for code size reduction