From 1826036a8363de825668185c3d5b4efd2820d353 Mon Sep 17 00:00:00 2001 From: Daniel Campora Date: Thu, 26 Mar 2015 20:41:50 +0100 Subject: [PATCH] cc3200: Increase main stack size to 2K. Increasing it from 1K to 2K gives more freedom to the callback handlers, before this, simply nesting a function call into a printf would cause a stack overflow. --- cc3200/application.lds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cc3200/application.lds b/cc3200/application.lds index 5418471fb2..4ffcd03c35 100644 --- a/cc3200/application.lds +++ b/cc3200/application.lds @@ -24,7 +24,7 @@ * THE SOFTWARE. */ -__stack_size__ = 1K; /* interrupts are handled within this stack */ +__stack_size__ = 2K; /* interrupts are handled within this stack */ __min_heap_size__ = 8K; __rtos_heap_size = 16K;