From ec170311b3770659827ff3533215a65574a1d54a Mon Sep 17 00:00:00 2001 From: Mathias Tausen Date: Sun, 28 Apr 2024 15:40:02 +0200 Subject: [PATCH] Decrease FreeRTOS heap size ld reports "region RAM overflowed with stack" otherwise --- src/FreeRTOSConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FreeRTOSConfig.h b/src/FreeRTOSConfig.h index cf18f4189e..8ce2eb4f55 100644 --- a/src/FreeRTOSConfig.h +++ b/src/FreeRTOSConfig.h @@ -62,7 +62,7 @@ #define configTICK_RATE_HZ 1024 #define configMAX_PRIORITIES (3) #define configMINIMAL_STACK_SIZE (120) -#define configTOTAL_HEAP_SIZE (1024 * 40) +#define configTOTAL_HEAP_SIZE (1024 * 39) #define configMAX_TASK_NAME_LEN (4) #define configUSE_16_BIT_TICKS 0 #define configIDLE_SHOULD_YIELD 1