From f6e593f141ac3f5fb88de04349bb35a2e4779cb6 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 --- exe/basflash_start.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exe/basflash_start.c b/exe/basflash_start.c index 621370b..141ae64 100644 --- a/exe/basflash_start.c +++ b/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).