Go Down

Topic: DuinOS: small and simple rtos (Read 51 times) previous topic - next topic


Sorry, but it is not a memory issue.
I moved the HEAP size down to as low as 200 and still no difference.
WiShield SimpleServer works until I choose the ATmega328 + DuinOS board in the IDE.

The only feature of FreeRTOS that I found was uxTaskGetStackHighWaterMark() which returns STACK information, not HEAP info.

I'll continue my quest for a software conflict.


You will still need to lower the default heap size for FreeRTOS in order to use the SimpleServer example of WiShield.  When I compiled that app with FreeRTOS and using the default 1200 byte heap size it was using 2352 bytes of SRAM which is obviously too much.


Thanks for all of your help. I am new to the Arduino platform and have not been able to find the info that I need without asking.

So, how did you determine that it required 2352 bytes of RAM?


Dec 09, 2009, 04:16 am Last Edit: Dec 09, 2009, 04:17 am by chumbud Reason: 1
See the post here on how to manually calculate the static memory usage:

There is also a binary called avr-size that is available on some platforms that will do this for you.  It is something the Arduino IDE probably should be doing automatically for you but doesn't.


Hi, is there a repository (svn, git, whatever) of this project?
The forum isn't really comfortable to keep track of changes.

Go Up