rtel wrote on Wednesday, July 20, 2011:
I was wandering how to calculate a stack size for a particular task ?
That is not really a FreeRTOS question. You would calculate the stack size in exactly the same way you would for any other C program (what is the maximum function call depth, what is placed on the stack by your application when at the maximum call depth, etc.). What FreeRTOS does do, however, is provide tools that will tell you how close the stack has ever come to overflowing (the stack “high water mark”), so you have data you can use to adjust the stack accordingly to avoid RAM being wasted.
What does it mean "Do I have to open source my application code that makes use of the FreeRTOS services? -->>
No, as long as the code provides functionality that is distinct from that provided by FreeRTOS
I’m not sure I can put it more succinctly than the table on this page: http://www.freertos.org/a00114.html If your application makes use of FreeRTOS through its API but is not itself anything to do with implementing multitasking, then your application can be closed source, and only the kernel is open source. If you modify the kernel or add extra multitasking features to the existing kernel, then your modifications remain open source because they are in effect part of the kernel, but your application that uses the kernel still remains closed source.