I am using the latest version of the Keil 8051 toolset (AX51, C51, LX51) and want to compile my code without the standard printf. I do not use it anywhere, yet it is still linked in (I can see in the .m51 file). My code does use sprintf. I've spent a bit researching this and haven't seen the answer.
Allan51 said:My code does use sprintf
98% of what prinft() does is sprintf() - so I guess they just didn't think it worth the effort of separating the two?
Or, to put it the other way around, if you are using sprintf(), then trying to remove just print() is not going to give you any significant benefit - even if it were possible.
View all questions in Keil forum