Skip to content

Commit

Permalink
zephyr/Kconfig: Increase default GC heap size to 48k.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dpgeorge committed Sep 6, 2024
1 parent 935fcd1 commit 0afec39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ports/zephyr/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions ports/zephyr/prj_minimal.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0afec39

Please sign in to comment.