cortexm: bump default stack size to 2048 bytes

Previously it was 1024 bytes, which occasionally ran into a stack
overflow. I hope that 2048 bytes will be enough for most purposes.

I've also removed some 2048-byte stack size settings in JSON files,
which are unnecessary now that the parent (cortex-m.json) sets them.
This commit is contained in:
Ayke van Laethem
2021-06-18 09:39:12 +02:00
committed by Ron Evans
parent cd628bcde6
commit 1913cb76a5
7 changed files with 6 additions and 12 deletions
+1 -2
View File
@@ -2,6 +2,5 @@
"inherits": ["atsamd21g18a"],
"build-tags": ["sam", "atsamd21g18a", "p1am_100"],
"flash-command": "bossac -d -i -e -w -v -R --port={port} --offset=0x2000 {bin}",
"flash-1200-bps-reset": "true",
"default-stack-size": 2048
"flash-1200-bps-reset": "true"
}