From 8ffa396cd33a99f0950a5218538fac459d07802e Mon Sep 17 00:00:00 2001 From: ThomasintAnker Date: Tue, 25 Jun 2024 10:49:56 +0200 Subject: Fix config --- lib/pbdrv/mpack-config.h | 2 +- puzzle/dummy/FreeRTOSConfig.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pbdrv/mpack-config.h b/lib/pbdrv/mpack-config.h index 994d9b7..5b1215c 100644 --- a/lib/pbdrv/mpack-config.h +++ b/lib/pbdrv/mpack-config.h @@ -13,7 +13,7 @@ #define MPACK_MEMCMP pb_memcmp // more reasonable buffer size (all messages are small) -#define MPACK_BUFFER_SIZE 256 +#define MPACK_BUFFER_SIZE 64 #define MPACK_STACK_SIZE MPACK_BUFFER_SIZE #define MPACK_PAGE_SIZE MPACK_BUFFER_SIZE diff --git a/puzzle/dummy/FreeRTOSConfig.h b/puzzle/dummy/FreeRTOSConfig.h index 1d98f78..072fdf7 100644 --- a/puzzle/dummy/FreeRTOSConfig.h +++ b/puzzle/dummy/FreeRTOSConfig.h @@ -17,7 +17,7 @@ #define configSTACK_DEPTH_TYPE uint16_t #define configSUPPORT_STATIC_ALLOCATION 0 #define configSUPPORT_DYNAMIC_ALLOCATION 1 -#define configTOTAL_HEAP_SIZE (1024) +#define configTOTAL_HEAP_SIZE (1224) // #define configTOTAL_HEAP_SIZE (7 * 1024) #define configCHECK_FOR_STACK_OVERFLOW 0 #define configUSE_MALLOC_FAILED_HOOK 0 -- cgit v1.2.3