projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a44cf7
)
samd21: Shrink default stack to 512 bytes
author
Keith Packard
<keithp@keithp.com>
Mon, 7 Nov 2022 03:29:41 +0000
(19:29 -0800)
committer
Keith Packard
<keithp@keithp.com>
Mon, 7 Nov 2022 03:29:41 +0000
(19:29 -0800)
Kinda needed to get TM v4.0 to fit.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/samd21/ao_arch.h
patch
|
blob
|
history
diff --git
a/src/samd21/ao_arch.h
b/src/samd21/ao_arch.h
index af2ca3e5ab881254931c9ebb812d33dbb61e8a3d..a5f68dafa6701ccf121ddc145e53d24106f9c6f6 100644
(file)
--- a/
src/samd21/ao_arch.h
+++ b/
src/samd21/ao_arch.h
@@
-192,7
+192,10
@@
bool
ao_usb_waiting(void);
#define AO_CMD_LEN 128
-#define AO_STACK_SIZE 2048
+
+#ifndef AO_STACK_SIZE
+#define AO_STACK_SIZE 512
+#endif
#ifndef HAS_BOOT_LOADER
#define HAS_BOOT_LOADER 1