mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 12:40:15 +01:00
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.
5.8 KiB
5.8 KiB