diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-10-30 10:25:30 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-10-30 10:25:30 -0600 |
commit | d0b2a1b1ffdea286d86359a8718a64d35b3af74e (patch) | |
tree | b66e688d9da1bc5f08910168d6dcc60465b0ce63 /apps | |
parent | 406681e3fddc5432cb358e5ce464fd16228a47eb (diff) | |
download | nuttx-d0b2a1b1ffdea286d86359a8718a64d35b3af74e.tar.gz nuttx-d0b2a1b1ffdea286d86359a8718a64d35b3af74e.tar.bz2 nuttx-d0b2a1b1ffdea286d86359a8718a64d35b3af74e.zip |
Fine tuning of memory usage in examples/cc3000 from David Sidrane
Diffstat (limited to 'apps')
-rw-r--r-- | apps/ChangeLog.txt | 3 | ||||
-rw-r--r-- | apps/examples/cc3000/Makefile | 2 | ||||
-rw-r--r-- | apps/examples/cc3000/cc3000basic.c | 14 | ||||
-rw-r--r-- | apps/examples/cc3000/shell.h | 4 |
4 files changed, 13 insertions, 10 deletions
diff --git a/apps/ChangeLog.txt b/apps/ChangeLog.txt index b12b3e8f4..c0a0e7efd 100644 --- a/apps/ChangeLog.txt +++ b/apps/ChangeLog.txt @@ -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). + diff --git a/apps/examples/cc3000/Makefile b/apps/examples/cc3000/Makefile index 2c29be4e1..9289fc697 100644 --- a/apps/examples/cc3000/Makefile +++ b/apps/examples/cc3000/Makefile @@ -41,7 +41,7 @@ include $(APPDIR)/Make.defs APPNAME = c3b PRIORITY = SCHED_PRIORITY_DEFAULT -STACKSIZE = 664 +STACKSIZE = 608 APPNAME1 = shell PRIORITY1 = SCHED_PRIORITY_DEFAULT diff --git a/apps/examples/cc3000/cc3000basic.c b/apps/examples/cc3000/cc3000basic.c index d974cc844..1a4d12714 100644 --- a/apps/examples/cc3000/cc3000basic.c +++ b/apps/examples/cc3000/cc3000basic.c @@ -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> diff --git a/apps/examples/cc3000/shell.h b/apps/examples/cc3000/shell.h index ded2554b2..c6ad0422c 100644 --- a/apps/examples/cc3000/shell.h +++ b/apps/examples/cc3000/shell.h @@ -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 |