From c8e17a50c6fc102418d84515b18594744d656bfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Sat, 5 Nov 2016 11:38:54 +0000 Subject: [PATCH] increase stack size for basflash --- BaS_gcc/exe/basflash_start.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BaS_gcc/exe/basflash_start.c b/BaS_gcc/exe/basflash_start.c index 621370b..141ae64 100644 --- a/BaS_gcc/exe/basflash_start.c +++ b/BaS_gcc/exe/basflash_start.c @@ -23,8 +23,9 @@ #include -static uint32_t ownstack[4096]; -static uint32_t *stackptr = &ownstack[4095]; +#define STACKSIZE 16384 +static uint32_t ownstack[STACKSIZE]; +static uint32_t *stackptr = &ownstack[STACKSIZE - 1]; /* * setup our own stack in SDRAM to prevent clashing BaS's in SRAM (size limited).