From 3ff7cd98e65bd078d83d3da7153c203ba41cf0e0 Mon Sep 17 00:00:00 2001 From: DiSlord Date: Mon, 29 Jun 2020 22:21:49 +0300 Subject: [PATCH] Reduce main thread stack size from 576 to 384 Reduce interrupt stack size from 512 to 256 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index aec3636..ad5d38a 100644 --- a/Makefile +++ b/Makefile @@ -65,13 +65,13 @@ endif # Stack size to be allocated to the Cortex-M process stack. This stack is # the stack used by the main() thread. ifeq ($(USE_PROCESS_STACKSIZE),) - USE_PROCESS_STACKSIZE = 0x240 + USE_PROCESS_STACKSIZE = 0x180 endif # Stack size to the allocated to the Cortex-M main/exceptions stack. This # stack is used for processing interrupts and exceptions. ifeq ($(USE_EXCEPTIONS_STACKSIZE),) - USE_EXCEPTIONS_STACKSIZE = 0x200 + USE_EXCEPTIONS_STACKSIZE = 0x100 endif #