Other Parts Discussed in Thread: SYSBIOS, TIMAC, Z-STACK,
I am writing for an existing deployment so I cannot use the resources available in ROM. SYSBIOS and Stack has to entirely be in flash. I'm seeing that the FLASH_ONLY config of Stack takes a full 50% of onboard RAM (10kb), SYS/BIOS and other application side RTOS resources take over 7k (summing the large items on my map file) leaving almost nothing left for the actual application. I've noticed that if I use a thread stack size of much smaller than 750 bytes I crash when making ICall queries. The MSA example uses a stack size of 704 for reference.
What I am trying to figure out is
1. Is there any way to reduce the RAM needs of Stack or the application side system components?
2. How do I figure out how large a stack I need to give my thread that makes the ICall to talk with the radio? Given how tight my constraints are I need a hard number for space I can safely work with.