diff --git a/ports/zephyr/Kconfig b/ports/zephyr/Kconfig index 5545cf3b15b0..227e943bcd13 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 2c89a02fae26..6c850751d723 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