Fine tuning of memory usage in examples/cc3000 from David Sidrane

This commit is contained in:
Gregory Nutt 2013-10-30 10:25:30 -06:00
parent c107547bdb
commit 608b605f40
4 changed files with 13 additions and 10 deletions

View File

@ -712,3 +712,6 @@
* apps/include/platform/configdata.h: Define an interface that can be
used to manage platform-specific storage of configuration data
(2013-10-30).
* apps/examples/cc3000: Fine tuning of memory usage from David Sidrane
(2013-10-30).

View File

@ -41,7 +41,7 @@ include $(APPDIR)/Make.defs
APPNAME = c3b
PRIORITY = SCHED_PRIORITY_DEFAULT
STACKSIZE = 664
STACKSIZE = 608
APPNAME1 = shell
PRIORITY1 = SCHED_PRIORITY_DEFAULT

View File

@ -91,15 +91,15 @@
* Mem: 16560 11144 5416 5384
* PID SIZE USED THREAD NAME
* 0 0 0 Idle Task
* 1 796 772 init
* 2 660 644 c3b
* 3 332 316 <pthread0>
* 1 876 772 init
* 2 604 588 c3b
* 3 236 220 <pthread0>
*
* 8 460 436 <pthread0>
* 8 364 348 <pthread0>
*
* 9 292 268 <pthread>
* 10 492 468 Telnet dd
* 11 960 940 Telnet sd
* 9 260 196 <pthread>
* 10 380 364 Telnet dd
* 11 860 844 Telnet sd
*/
#include <nuttx/config.h>

View File

@ -59,7 +59,7 @@
#endif
#ifndef CONFIG_EXAMPLES_TELNETD_DAEMONSTACKSIZE
# define CONFIG_EXAMPLES_TELNETD_DAEMONSTACKSIZE 492
# define CONFIG_EXAMPLES_TELNETD_DAEMONSTACKSIZE 384
#endif
#ifndef CONFIG_EXAMPLES_TELNETD_CLIENTPRIO
@ -67,7 +67,7 @@
#endif
#ifndef CONFIG_EXAMPLES_TELNETD_CLIENTSTACKSIZE
# define CONFIG_EXAMPLES_TELNETD_CLIENTSTACKSIZE 964
# define CONFIG_EXAMPLES_TELNETD_CLIENTSTACKSIZE 864
#endif
#undef CONFIG_EXAMPLE_CC3000_MEM_CHECK