8000 py/gc: Support multiple heaps (version 3; incl. rebase). · micropython/micropython@f1d9156 · GitHub
[go: up one dir, main page]

Skip to content

Commit f1d9156

Browse files
aykevlrknegjens
authored andcommitted
py/gc: Support multiple heaps (version 3; incl. rebase).
Enable the addition of heap space at runtime. Advantages: - The ESP32 has a fragmented heap so to use all of it the heap must be split. - Support a dynamic heap while running on an OS, adding more heap when necessary. Original commit from Jan 2018. Rebased onto latest master.
1 parent 9d7c168 commit f1d9156

File tree

5 files changed

+490
-318
lines changed

5 files changed

+490
-318
lines changed

ports/unix/variants/coverage/mpconfigvariant.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,4 @@
5656
#define MICROPY_PY_UCRYPTOLIB (1)
5757
#define MICROPY_PY_UCRYPTOLIB_CTR (1)
5858
#define MICROPY_PY_MICROPYTHON_HEAP_LOCKED (1)
59+
#define MICROPY_GC_MULTIHEAP (1)

0 commit comments

Comments
 (0)
0