pimoroni-pico/micropython/modules_py/boot.py

4 wiersze
108 B
Python

import cppmem
# Switch C++ memory allocations to use MicroPython's heap
cppmem.set_mode(cppmem.MICROPYTHON)