From ca9c636f88fb58243847d9dca9cc1c000dcadeb5 Mon Sep 17 00:00:00 2001
From: Alberto Nidasio <alberto.nidasio@skywarder.eu>
Date: Thu, 20 Apr 2023 00:04:21 +0200
Subject: [PATCH] Set main stack size for compute unit board to 16KB

---
 .../cortexM7_stm32f7/stm32f767zi_compute_unit/board_settings.h  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/miosix/config/arch/cortexM7_stm32f7/stm32f767zi_compute_unit/board_settings.h b/miosix/config/arch/cortexM7_stm32f7/stm32f767zi_compute_unit/board_settings.h
index 1a7f024e..6f2a6f15 100644
--- a/miosix/config/arch/cortexM7_stm32f7/stm32f767zi_compute_unit/board_settings.h
+++ b/miosix/config/arch/cortexM7_stm32f7/stm32f767zi_compute_unit/board_settings.h
@@ -42,7 +42,7 @@ namespace miosix {
 
 /// Size of stack for main().
 /// The C standard library is stack-heavy (iprintf requires 1KB)
-const unsigned int MAIN_STACK_SIZE=4*1024;
+const unsigned int MAIN_STACK_SIZE=16*1024;
 
 /// Frequency of tick (in Hz). For the priority scheduler this is also the
 /// context switch frequency
-- 
GitLab