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 2007 Threads] floating point supportPosted by Nobody/Anonymous on May 7, 2007 Hi everybody, sorry, but Iam a complete newbie on FreeRTOS here. My question is, does FreeRTOS support floating point math? I use the GCC on ARMSAM7x256. Thanks
RE: floating point supportPosted by Çağlar Akyüz on May 7, 2007 FreeRTOS doesn't but GCC does. :)
RE: floating point supportPosted by Nobody/Anonymous on May 7, 2007 Hi Çağlar Akyüz thank you for your response. Do you know a trick to use floating points on FreeRTOS? Perhaps: stopping (freezing) RTOS and INTERRUPTS, then perform a floating point algorithm, go back to RTOS? Thanks in advance
RE: floating point supportPosted by Richard on May 7, 2007 This would only be necessary if the floating point libraries are not re-entrant. Do you know if this is the case or not? I suspect they are re-entrant, in which case you do not need to take any special measures in order to use floating point from within a task (other than ensuring the task has enough stack space to call the library functions).
Regards.
RE: floating point supportPosted by Çağlar Akyüz on May 7, 2007 If you want to stop scheduler or interrupts you can but I don't think it is something desirable. Besides it is something application specific.
Moreover, SAM7X do not have a floating-point hardware. That's make floating point code nothing different, from the rtos point of view. That's a matter of fact for the compiler-library couple.
What I want to say is just implement your favourite algorithm, measure the results. if you *need* more time then you can always think about disabling interrupts/scheduler.
I hope I get the point.
Best Regards
RE: floating point supportPosted by Nobody/Anonymous on May 7, 2007 many thanks to Richard and Çağlar Akyüz. Great help for my next steps with FreeRTOS. Best Regards Michael
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|