From: Keith Packard Date: Mon, 7 Nov 2022 03:29:41 +0000 (-0800) Subject: samd21: Shrink default stack to 512 bytes X-Git-Tag: 1.9.13~1^2~26^2~35 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=b24faa163ede640305f0660c30d84e558bd2b909 samd21: Shrink default stack to 512 bytes Kinda needed to get TM v4.0 to fit. Signed-off-by: Keith Packard --- 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