4 lines
108 B
Python
4 lines
108 B
Python
|
import cppmem
|
||
|
# Switch C++ memory allocations to use MicroPython's heap
|
||
|
cppmem.set_mode(cppmem.MICROPYTHON)
|