9 Commits (a1eebc507eda8f5ec052d0ef0450c52f2320e106)

Author SHA1 Message Date
David Lechner 68f46342aa shared/runtime/pyexec: Use MP_REGISTER_ROOT_POINTER(). 2 years ago
Damien George 402df833fe py/modsys: Introduce sys.implementation._machine constant. 3 years ago
Damien George 40047823bc py/modsys: Append MicroPython git version and build date to sys.version. 3 years ago
Damien George ac2293161e py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them. 3 years ago
Damien George f2040bfc7e py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
iabdalkader 644f4dcc94 shared/runtime/pyexec: Cleanup EXEC_FLAG flag constants. 3 years ago
Jim Mussared e0bf4611c3 py: Only search frozen modules when '.frozen' is found in sys.path. 3 years ago
Damien George 136369d72f all: Update to point to files in new shared/ directory. 3 years ago
Damien George 4d546713ec shared: Introduce new top-level dir and move 1st party lib code there. 3 years ago
Damien George b6b39bff47 py/gc: Make gc_lock_depth have a count per thread. 4 years ago
stijn fca2730ea0 lib/utils/pyexec: Remove obsolete LCD initialization. 4 years ago
Damien George bb24c69b90 lib/utils/pyexec: Add stdin-reader on raw REPL with flow control. 4 years ago
Damien George 7789cd5f16 lib/utils/pyexec: Add MICROPY_BOARD hooks before/after executing code. 4 years ago
Damien George b2030e1661 lib/utils/pyexec: Add missing MP_ERROR_TEXT when compiler disabled. 5 years ago
stijn 84fa3312cf all: Format code to add space after C++-style comment start. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George 5a91cd9ff3 lib/utils/pyexec: Handle pending exceptions after disabling kbd intrs. 5 years ago
Yonatan Goldschmidt 61d2b40ad5 lib/utils/pyexec: Introduce MICROPY_REPL_INFO, wrap debug prints in it. 5 years ago
Damien George af20c2ead3 py: Add global default_emit_opt variable to make emit kind persistent. 5 years ago
Andrew Leech 859596ce25 lib/utils: Make pyexec_file_if_exists run frozen scripts if they exist. 6 years ago
Damien George 06a532c227 lib/utils/pyexec: Add pyexec_file_if_exists() helper function. 6 years ago
Mike Causer 812969d615 all: Change PYB message prefix to MPY. 7 years ago
Damien George 1fa8f977f5 lib/utils/pyexec: Implement paste mode with event driven REPL. 6 years ago
Damien George f5d46a88aa lib/utils/pyexec: Forcefully unlock the heap if locked and REPL active. 6 years ago
Damien George b2b06450e3 lib/utils: Fix to support compiling with object representation D. 6 years ago
Damien George d9b9fbc41a lib/utils/pyexec: Update to work with new MICROPY_HW_ENABLE_USB option. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Tom Collins 288ea06e7c lib/utils/pyexec: Update event-driven REPL to match non-event REPL. 8 years ago
Damien George 3f7aa330fd lib/utils/pyexec: Fix bug with pyexec_file not setting flag for source. 8 years ago
Damien George 56b238393b lib/utils/pyexec: Refactor to put lexer constructors all in one place. 8 years ago
Damien George 3b2fd4df31 lib/utils/pyexec: Allow to compile when the uPy compiler is disabled. 8 years ago
Damien George 211244d1f3 lib/utils/pyexec: Only print help prompt if HELP feature is enabled. 8 years ago
Paul Sokolovsky 3cdccb9b14 zephyr: Fix mp_hal_set_interrupt_char() declaration to be compatible. 8 years ago
Paul Sokolovsky 6832cbd69d lib/utils/pyexec: Fix compilation warning of type vs format mismatch. 8 years ago
Vincenzo Frascino c38ea32810 lib/utils/pyexec: Add mp_hal_set_interrupt_char() prototype. 8 years ago
Damien George ad3724e0bc lib/utils/pyexec: Allow behaviour of SystemExit to be configurable. 8 years ago
Damien George 824f5c5a32 py/vstr: Combine vstr_new_size with vstr_new since they are rarely used. 8 years ago
Paul Sokolovsky 4021b1e1b8 lib/utils/pyexec: Don't treat SystemExit as "forced exit". 8 years ago
Paul Sokolovsky bae62d9abe lib/utils/pyexec: qstr_pool_info() requires size_t* parameters. 8 years ago
Paul Sokolovsky 04c27e5eaa lib/utils/pyexec: Use full path to readline.h header, per latest conventions. 8 years ago
Colin Hogben 8aa3cbf153 lib/utils/pyexec: Condition-out GC calls from pyexec. 9 years ago
Damien George 0a2e9650f5 py: Add ability to have frozen persistent bytecode from .mpy files. 9 years ago
Paul Sokolovsky 777232c9a5 esp8266: Disallow recursive calls to REPL. 9 years ago
Paul Sokolovsky 2e75a17bab esp8266: Fix issue when current repl line was garbage-collected. 9 years ago
Damien George 84b245f187 lib/utils: Add pyexec_frozen_module to load and execute frozen module. 9 years ago
Damien George 40274fec9c lib/pyexec: Move header pyexec.h from stmhal directory. 9 years ago
Damien George dde0c204e7 lib/pyexec: For paste mode use "Ctrl" as the name of the key, not "CTRL". 9 years ago
Paul Sokolovsky 0ec51441de stmhal: pyexec.c is common module, move to lib/utils/ . 9 years ago
Damien George 731f359292 all: Add py/mphal.h and use it in all ports. 9 years ago