tofrnr

Results 24 comments of tofrnr

now what about making possible that sprintf() can be optionally (!!) enabled perhaps by a #include or by a #pragma config ??

Perhaps have just two sets of different `lib.c` folders? and then choose manually in the proprietary which set the user wishes to be `#include`d. either by `#include` an extended lib...

I just need the functionality for sprintf and possibly vsprintf and sscanf, i.e. just for formatting different value types to a char\* (string). - not for read/write from stdin/stdout or...

ok, once having done that for 1 of my projects, how can I switch back and forth to include/exclude this functionality if desirable?

how can I do it in a couple of programs and do the other thing in another couple of programs from inside my code? as I wrote in my TOP:...

re: "You don't seem to be understanding that the way this is controlled is through compiler and linker flags." I know that it's the way it's done currently, but that...

well, actually I have no idea HOW it could work, I'm just interested in THAT it does work how I stated: to optionally enable sprintf() for float formatting also on...

then AVR programmers with a lack of RAM should #include a different lib without sprintf, and whoever wants full sprintf for floats should #include stdio.h providing automatically all the standard...

" the overhead would be undesirable for the smaller boards" " This feature is disabled by default to save space."

sprintf() is a stdio.h function and must work as the default, i.e. providing floats formatting features. If one wants a crippled version for AVRs to save space, he must be...