From 0afec3974caf49ce0c2c5f42cb3ac430d98650b4 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 3 Sep 2024 12:54:14 +1000 Subject: [PATCH] zephyr/Kconfig: Increase default GC heap size to 48k. So that more tests can run successfully, and so users by default have more heap for applications. Thin minimal configuration still has a 16k GC heap. Signed-off-by: Damien George --- ports/zephyr/Kconfig | 2 +- ports/zephyr/prj_minimal.conf | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ports/zephyr/Kconfig b/ports/zephyr/Kconfig index 5545cf3b1..227e943bc 100644 --- a/ports/zephyr/Kconfig +++ b/ports/zephyr/Kconfig @@ -30,7 +30,7 @@ config MICROPY_CONFIGFILE config MICROPY_HEAP_SIZE int "Heap size" - default 16384 + default 49152 config MICROPY_VFS_FAT bool "FatFS file system" diff --git a/ports/zephyr/prj_minimal.conf b/ports/zephyr/prj_minimal.conf index 2c89a02fa..6c850751d 100644 --- a/ports/zephyr/prj_minimal.conf +++ b/ports/zephyr/prj_minimal.conf @@ -11,3 +11,5 @@ CONFIG_CONSOLE_PUTCHAR_BUFSIZE=32 # TODO: Disable once https://github.com/zephyrproject-rtos/zephyr/pull/13731 is merged #CONFIG_CONSOLE=n #CONFIG_UART_CONSOLE=n + +CONFIG_MICROPY_HEAP_SIZE=16384