splitty - Reduce RAM usage.

Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/da32eeae
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/da32eeae
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/da32eeae

Branch: refs/heads/develop
Commit: da32eeaec81ecb94bb3fcaa3b38274f1f8a6c492
Parents: fe584eb
Author: Christopher Collins <[email protected]>
Authored: Thu Jan 19 15:02:30 2017 -0800
Committer: Christopher Collins <[email protected]>
Committed: Thu Jan 19 15:02:30 2017 -0800

----------------------------------------------------------------------
 apps/splitty/src/main.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/da32eeae/apps/splitty/src/main.c
----------------------------------------------------------------------
diff --git a/apps/splitty/src/main.c b/apps/splitty/src/main.c
index e172095..b63dbb5 100755
--- a/apps/splitty/src/main.c
+++ b/apps/splitty/src/main.c
@@ -44,19 +44,19 @@
 
 /* Task 1 */
 #define TASK1_PRIO (8)
-#define TASK1_STACK_SIZE    OS_STACK_ALIGN(192)
-#define MAX_CBMEM_BUF 600
+#define TASK1_STACK_SIZE    OS_STACK_ALIGN(32)
+#define MAX_CBMEM_BUF 300
 static struct os_task task1;
 static volatile int g_task1_loops;
 
 /* Task 2 */
 #define TASK2_PRIO (9)
-#define TASK2_STACK_SIZE    OS_STACK_ALIGN(64)
+#define TASK2_STACK_SIZE    OS_STACK_ALIGN(32)
 static struct os_task task2;
 
 /* Task 3 */
 #define TASK3_PRIO (10)
-#define TASK3_STACK_SIZE    OS_STACK_ALIGN(512)
+#define TASK3_STACK_SIZE    OS_STACK_ALIGN(428)
 static struct os_task task3;
 
 static struct log my_log;

Reply via email to