18 Commits (9773506ab131422433c830e18ab044f0c7d3e0b0)

Author SHA1 Message Date
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
Paul Sokolovsky 04fa999cfe stmhal/pyexec: Use mp_hal_ticks_ms(). 9 years ago
Damien George 0334058fa4 Rename "Micro Python" to "MicroPython" in REPL, help, readme's and misc. 9 years ago
Damien George 46a1102852 repl: Add paste mode to friendly REPL, entered via CTRL-E. 9 years ago
Damien George 58e0f4ac50 py: Allocate parse nodes in chunks to reduce fragmentation and RAM use. 9 years ago
Damien George c98c128fe8 pyexec: Make raw REPL work with event-driven version of pyexec. 10 years ago
Dave Hylands c3e37a0cde stmhal: Automatically re-enable IRQs on the USB REPL. 10 years ago
Damien George b7a4f15b34 mp-readline: Save "prompt" string in readline state. 10 years ago
Damien George 95f53461c2 py: Replace py-version.sh with makeversionhdr.py, written in Python. 10 years ago
Damien George f35b5d28db stmhal/pyexec.c: Make raw REPL mode 8-bit clean. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George 0b32e50365 stmhal: Make pybstdio usable by other ports, and use it. 10 years ago
Damien George 5351a48185 stmhal: Change type of received chr from char to int. 10 years ago
Damien George 0bfc7638ba py: Protect mp_parse and mp_compile with nlr push/pop block. 10 years ago
Damien George 827b0f747b py: Change vstr_null_terminate -> vstr_null_terminated_str, returns str. 10 years ago
Damien George 0d3cb6726d py: Change vstr so that it doesn't null terminate buffer by default. 10 years ago
Damien George 0ecd5988a2 stmhal: Remove unnecessary #include "systick.h" from pyexec.c. 10 years ago
Damien George 50912e7f5d py, unix, stmhal: Allow to compile with -Wshadow. 10 years ago
Paul Sokolovsky 87bc8e2b3d pyexec: Add event-driven variant pyexec_friendly_repl(). 10 years ago
Damien George 2cf6dfa280 stmhal: Prefix includes with py/; remove need for -I../py. 10 years ago
Damien George 9ddbe291c4 py: Add include guards to mpconfig,misc,qstr,obj,runtime,parsehelper. 10 years ago
Paul Sokolovsky 4b60b45bfc stmhal: gccollect.h is superfluous in many places. 10 years ago
Paul Sokolovsky 6aaccc484c stmhal: Use gc_dump_info() function instead of adhoc code. 10 years ago
Paul Sokolovsky bf19586c53 stmhal: Include MICROPY_HAL_H only if defined. 10 years ago
Paul Sokolovsky 46c3ab2004 modsys: Add sys.print_exception(exc, file=sys.stdout) function. 10 years ago
Damien George a4c52c5a3d py: Optimise lexer by exposing lexer type. 10 years ago
Damien George 5cbc9e0db0 stmhal: Reduce coupling between USB driver and readline. 10 years ago
Damien George bc1488a05f stmhal: Improve REPL control codes; improve pyboard.py script. 10 years ago
Damien George 3be6984b8f stmhal: Don't return SystemExit value from parse_compile_execute. 10 years ago
Dave Hylands 8d62bbd46a Add pyb.hard_reset, and make sys.exit() or raise SystemExit do a soft reset. 10 years ago
Damien George d03c681608 stmhal: Use mp_uint_t where appropriate. 10 years ago
Damien George a91ac2011f py: Make compiler return a proper exception on SyntaxError. 10 years ago