FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [May 2012 Threads] sprint functionPosted by Paul Coleman on May 11, 2012 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.
RE: sprint functionPosted by Dave on May 11, 2012 There is a third party file called printf-stdarg.c included in lots of demos but not all. Search the FreeRTOS\Demo 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.
RE: sprint functionPosted by Paul Coleman on May 11, 2012 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.
RE: sprint functionPosted by Dave on May 11, 2012 The files are not port specific, they are all the same.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|