sprint function

I thought I read somewhere that each port has a reduced version of the sprintf() function but I don’t know where it is and how do I use the replacement instead of the standard library one? I’m using the Atmel AVR32 port. Can somebody point me in the right direction please? Thanks, Paul.

sprint function

There is a third party file called printf-stdarg.c included in lots of demos but not all. Search the FreeRTOSDemo directory for that file name and you will find it. Careful that the snprintf() implementation it contains does not get used though because it is not implemented and is included so it can be linked.

sprint function

Thanks for the reply. It doesn’t appear to exist for my port so I’ll have to look at using one from another port. Or just create a very large stack for the task which uses it and use the GCC library version instead. Thanks, Paul.

sprint function

The files are not port specific, they are all the same.