aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-25 10:50:22 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-25 10:50:22 +0200
commit34875e734907e90c2e254fcd79d66dab0b491e56 (patch)
treedbb1777a69567c8069148a866f5b74ac75e639ca
parentc3858da988fae9d2a103a0cf207e80776a995b0f (diff)
parent8ffa396cd33a99f0950a5218538fac459d07802e (diff)
Merge branch 'wip/config' of github.com:lonkaars/puzzelbox
-rw-r--r--lib/pbdrv/mpack-config.h2
-rw-r--r--puzzle/dummy/FreeRTOSConfig.h2
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