summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-09-03 12:54:14 +1000
committerDamien George <damien@micropython.org>2024-09-06 20:42:57 +1000
commit0afec3974caf49ce0c2c5f42cb3ac430d98650b4 (patch)
tree097db966a40969fc4e2a77939b560c52f2b067e3
parent935fcd1329e39749a6a67bbb2e17bad39b263c09 (diff)
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 <damien@micropython.org>
-rw-r--r--ports/zephyr/Kconfig2
-rw-r--r--ports/zephyr/prj_minimal.conf2
2 files changed, 3 insertions, 1 deletions
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