Skip to content

Commit

Permalink
cppmem: Reduce heap size.
Browse files Browse the repository at this point in the history
The build is very, very tight and - prior to this commit - overflowing RAM by 148 bytes.

TODO: Find room elsewhere.
  • Loading branch information
Gadgetoid committed Nov 26, 2024
1 parent 876b059 commit eeac540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ include(modules_py/modules_py)
# C++ Magic Memory
include(cppmem/micropython)
target_compile_definitions(usermod INTERFACE
CPP_FIXED_HEAP_SIZE=512)
CPP_FIXED_HEAP_SIZE=256)

# Disable build-busting C++ exceptions
include(micropython-disable-exceptions)

0 comments on commit eeac540

Please sign in to comment.