From 156a33fa016eaf6a8c9807ee260c9aa77073acec Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Mon, 27 Feb 2023 14:06:22 +0000 Subject: [PATCH] freeRTOS: shrink heap by half A 128K reservation on a device with 256K of RAM is a bit demanding. Shrink to fix a link error in a DebugRel build. --- src/FreeRTOSConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FreeRTOSConfig.h b/src/FreeRTOSConfig.h index 63ce706d9..a236a1917 100644 --- a/src/FreeRTOSConfig.h +++ b/src/FreeRTOSConfig.h @@ -71,7 +71,7 @@ /* Memory allocation related definitions. */ #define configSUPPORT_STATIC_ALLOCATION 0 #define configSUPPORT_DYNAMIC_ALLOCATION 1 -#define configTOTAL_HEAP_SIZE (128*1024) +#define configTOTAL_HEAP_SIZE (64*1024) #define configAPPLICATION_ALLOCATED_HEAP 0 /* Hook function related definitions. */