From 19ef9dbe4eea37ef270aeeda26a3227da920575f Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Sun, 31 May 2015 12:00:17 +0200 Subject: [PATCH] cpu/cortexm: raised ISR stack size to safer value 256 Byte were not enough for some boards (not sure why, yet). So go back to 512 byte as a save (and known working value). --- cpu/cortexm_common/ldscripts/cortexm_base.ld | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/cortexm_common/ldscripts/cortexm_base.ld b/cpu/cortexm_common/ldscripts/cortexm_base.ld index 75a9d3e231..1dc468ec7e 100644 --- a/cpu/cortexm_common/ldscripts/cortexm_base.ld +++ b/cpu/cortexm_common/ldscripts/cortexm_base.ld @@ -33,8 +33,8 @@ SEARCH_DIR(.) /* Define the default stack size for interrupt mode. As no context is saved on this stack and ISRs are supposed to be short, it can be fairly - small. 256 byte should be a save assumption here */ -STACK_SIZE = DEFINED(STACK_SIZE) ? STACK_SIZE : 0x100; /* 256 byte */ + small. 512 byte should be a save assumption here */ +STACK_SIZE = DEFINED(STACK_SIZE) ? STACK_SIZE : 0x200; /* 512 byte */ /* Section Definitions */ SECTIONS