Skip to content
Snippets Groups Projects
Commit df4ce930 authored by Damien George's avatar Damien George
Browse files

py/modmicropython: Add stack_use, heap_lock and heap_unlock functions.

micropython.stack_use() returns an integer being the number of bytes used
on the stack.

micropython.heap_lock() and heap_unlock() can be used to prevent the
memory manager from allocating anything on the heap.  Calls to these are
allowed to be nested.
parent 42a6364a
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment