Repository: incubator-mynewt-core Updated Branches: refs/heads/develop 94497bf2a -> f13d0dece
MYNEWT-619 Splitty - Console does not output The problem was a stack overflow. The "task1" stack was only 32 words. This wasn't enough for the logging that it performs. 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/f13d0dec Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/f13d0dec Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/f13d0dec Branch: refs/heads/develop Commit: f13d0dece8ac2d9cb0dae4e0a46ee3413df9263c Parents: 94497bf Author: Christopher Collins <[email protected]> Authored: Mon Feb 6 13:51:46 2017 -0800 Committer: Christopher Collins <[email protected]> Committed: Mon Feb 6 13:53:39 2017 -0800 ---------------------------------------------------------------------- apps/splitty/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f13d0dec/apps/splitty/src/main.c ---------------------------------------------------------------------- diff --git a/apps/splitty/src/main.c b/apps/splitty/src/main.c index 9bf5ca6..267b4bc 100755 --- a/apps/splitty/src/main.c +++ b/apps/splitty/src/main.c @@ -44,7 +44,7 @@ /* Task 1 */ #define TASK1_PRIO (8) -#define TASK1_STACK_SIZE OS_STACK_ALIGN(32) +#define TASK1_STACK_SIZE OS_STACK_ALIGN(128) #define MAX_CBMEM_BUF 300 static struct os_task task1; static volatile int g_task1_loops;
