From b24faa163ede640305f0660c30d84e558bd2b909 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 6 Nov 2022 19:29:41 -0800 Subject: [PATCH] samd21: Shrink default stack to 512 bytes Kinda needed to get TM v4.0 to fit. Signed-off-by: Keith Packard --- src/samd21/ao_arch.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/samd21/ao_arch.h b/src/samd21/ao_arch.h index af2ca3e5..a5f68daf 100644 --- 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 -- 2.30.2