aboutsummaryrefslogtreecommitdiff
path: root/docs/library/micropython.rst
AgeCommit message (Collapse)Author
2022-08-26docs/library/micropython: Fix spelling of compiler.Laurens Valk
Signed-off-by: Laurens Valk <laurens@pybricks.com>
2020-06-05docs: Fix Sphinx 3.x warnings, and enable warnings-as-errors on build.David Lechner
This enables warnings as errors and fixes all current errors, namely: - reference to terms in the glossary must now be explicit (:term:) - method overloads must not be declared as a separate method or must use :noindex: - 2 cases where `` should have been used instead of `
2020-03-11py/modmicropython: Add heap_locked function to test state of heap.Andrew Leech
This commit adds micropython.heap_locked() which returns the current lock-depth of the heap, and can be used by Python code to check if the heap is locked or not. This new function is configured via MICROPY_PY_MICROPYTHON_HEAP_LOCKED and is disabled by default. This commit also changes the return value of micropython.heap_unlock() so it returns the current lock-depth as well.
2019-07-17py/scheduler: Rename sched_stack to sched_queue.Jim Mussared
Behaviour was changed from stack to queue in 8977c7eb581f5d06500edb1ea29aea5cbda04f28, and this updates variable names to match. Also updates other references (docs, error messages).
2018-10-13lib/utils/pyexec: Forcefully unlock the heap if locked and REPL active.Damien George
Otherwise there is really nothing that can be done, it can't be unlocked by the user because there is no way to allocate memory to execute the unlock. See issue #4205 and #4209.
2018-03-05docs/library/micropython: Describe optimisation levels for opt_level().Damien George
2017-11-23docs: Add notes on heap allocation caused by bound method refs.Peter Hinch
2017-08-29docs/library/micropython: Fix typo in RST formatting.Damien George
2017-06-28docs/{micropython,sys,uos}: Use markup adhering to the latest docs conventions.Paul Sokolovsky
2017-05-18docs/library/micropython: Document the newer micropython functions.Damien George
2017-04-16docs/library/micropython: Deconditionalize.Paul Sokolovsky
2015-06-10docs: Add initial draft documentation for the WiPy.Daniel Campora
This makes all common files "port-aware" using the .. only directive.
2015-06-04docs: Change "Micro Python" to "MicroPython" in all places in docs.Damien George
2015-03-30docs: Add additional example/note for Timer's callback usage.Ivan Pejić
Add example: using named function for the Timer's callback. Add note: improving traceback inside interrupt timers.
2015-03-30docs: Provide initial documentation for micropython module.Damien George