Hi,
How much RAM is used by mqx initially ? and how do i know the amount of RAM left to be used by tasks ? I am using kinetis K60 in this case.
Solved! Go to Solution.
.As a reference here is a sample footprint:
-Basic MQX: 20k Flash and 3k RAM
-MQX with 1 user task: 23k Flash and 5k RAM
-RTCS (TCPIP Stack) Enabled Adds: 40k Flash and 20k
-RAM Telnet Adds: 24k Flash and 3k RAM
-WebServer Adds: 33k Flash and 6k RAM You could find more details in the folder in the benchmark project results. They can be found in the folder: C:\Program Files\Freescale\Freescale MQX 4.0\mqx\examples\benchmrk\codesize\reports\
you can optimize the stack usage of each task by configuring a stack size for each task in such a way that for example 95 % of a task’s stack would be used under full application load (worst case stack usage by your application).
.As a reference here is a sample footprint:
-Basic MQX: 20k Flash and 3k RAM
-MQX with 1 user task: 23k Flash and 5k RAM
-RTCS (TCPIP Stack) Enabled Adds: 40k Flash and 20k
-RAM Telnet Adds: 24k Flash and 3k RAM
-WebServer Adds: 33k Flash and 6k RAM You could find more details in the folder in the benchmark project results. They can be found in the folder: C:\Program Files\Freescale\Freescale MQX 4.0\mqx\examples\benchmrk\codesize\reports\