Commit Graph

43 Commits (b4c1b355bb621c0b1e9980d2d83262327bd001f8)

Author SHA1 Message Date
Scott Shawcroft 6440af5c06
Hide the traceback for the ReloadException. 4 years ago
Craig Forbes 1532863d83 Set __file__ for the main source file (e.g. code.py, main.py) 4 years ago
Scott Shawcroft 96ebf5bc3f
Two fixes and translate more strings. 4 years ago
Scott Shawcroft 519287550c
Long-live code.py itself. 4 years ago
Scott Shawcroft 3b511e503a Prevent a heap pointer from living on the stack longer than we need. 5 years ago
Scott Shawcroft 7dd1d6afcc Prevent a heap pointer from living on the stack longer than we need. 5 years ago
Damien George d9b9fbc41a lib/utils/pyexec: Update to work with new MICROPY_HW_ENABLE_USB option. 5 years ago
Dan Halbert 065e82015f merge from 2.2.0 + fix up board defs 5 years ago
Dan Halbert f2ad1a3679 Write version info to boot_out.txt. 5 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 5 years ago
Dan Halbert acbca44512 Ctrl-C was causing a soft-reset in REPL. 5 years ago
Scott Shawcroft fab634e3ee Turn on Rosie CI testing to test new builds on real hardware. 5 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 5 years ago
Tom Collins 288ea06e7c lib/utils/pyexec: Update event-driven REPL to match non-event REPL. 6 years ago
Damien George 3f7aa330fd lib/utils/pyexec: Fix bug with pyexec_file not setting flag for source. 6 years ago
Damien George 56b238393b lib/utils/pyexec: Refactor to put lexer constructors all in one place. 6 years ago
Damien George 3b2fd4df31 lib/utils/pyexec: Allow to compile when the uPy compiler is disabled. 6 years ago
Scott Shawcroft f2c787d0b4 Fix the keyboard exception in REPL by ignoring forced exit results when in REPL. Also, print the exception correctly. Fixes #57 6 years ago
Damien George 211244d1f3 lib/utils/pyexec: Only print help prompt if HELP feature is enabled. 6 years ago
Scott Shawcroft 25ae844d55 Rename to CircuitPython 6 years ago
Scott Shawcroft b6f1eebab3 atmel-samd: Add APA102 support and flash more advanced status. 6 years ago
Scott Shawcroft 7a24abb27c lib/utils/pyexec: Return FORCED_EXIT from pyexec_file when its stopped by CTRL - C. 6 years ago
Paul Sokolovsky 3cdccb9b14 zephyr: Fix mp_hal_set_interrupt_char() declaration to be compatible. 6 years ago
Paul Sokolovsky 6832cbd69d lib/utils/pyexec: Fix compilation warning of type vs format mismatch. 6 years ago
Vincenzo Frascino c38ea32810 lib/utils/pyexec: Add mp_hal_set_interrupt_char() prototype. 6 years ago
Scott Shawcroft d189a3f3cf atmel-samd: Support auto-reset based on USB write activity. 6 years ago
Damien George ad3724e0bc lib/utils/pyexec: Allow behaviour of SystemExit to be configurable. 6 years ago
Scott Shawcroft 8677f957fb lib/utils: Clarify this is Adafruit's MicroPython derivative and help() isn't available yet. 6 years ago
Damien George 824f5c5a32 py/vstr: Combine vstr_new_size with vstr_new since they are rarely used. 6 years ago
Paul Sokolovsky 4021b1e1b8 lib/utils/pyexec: Don't treat SystemExit as "forced exit". 6 years ago
Paul Sokolovsky bae62d9abe lib/utils/pyexec: qstr_pool_info() requires size_t* parameters. 6 years ago
Paul Sokolovsky 04c27e5eaa lib/utils/pyexec: Use full path to readline.h header, per latest conventions. 6 years ago
Colin Hogben 8aa3cbf153 lib/utils/pyexec: Condition-out GC calls from pyexec. 7 years ago
Damien George 0a2e9650f5 py: Add ability to have frozen persistent bytecode from .mpy files. 7 years ago
Paul Sokolovsky 777232c9a5 esp8266: Disallow recursive calls to REPL. 7 years ago
Paul Sokolovsky 2e75a17bab esp8266: Fix issue when current repl line was garbage-collected. 7 years ago
Damien George 84b245f187 lib/utils: Add pyexec_frozen_module to load and execute frozen module. 7 years ago
Damien George 40274fec9c lib/pyexec: Move header pyexec.h from stmhal directory. 7 years ago
Damien George dde0c204e7 lib/pyexec: For paste mode use "Ctrl" as the name of the key, not "CTRL". 7 years ago
Paul Sokolovsky 0ec51441de stmhal: pyexec.c is common module, move to lib/utils/ . 7 years ago
Damien George 731f359292 all: Add py/mphal.h and use it in all ports. 7 years ago
Paul Sokolovsky 04fa999cfe stmhal/pyexec: Use mp_hal_ticks_ms(). 7 years ago
Damien George 0334058fa4 Rename "Micro Python" to "MicroPython" in REPL, help, readme's and misc. 7 years ago
Damien George 46a1102852 repl: Add paste mode to friendly REPL, entered via CTRL-E. 7 years ago
Damien George 58e0f4ac50 py: Allocate parse nodes in chunks to reduce fragmentation and RAM use. 7 years ago
Damien George c98c128fe8 pyexec: Make raw REPL work with event-driven version of pyexec. 8 years ago
Dave Hylands c3e37a0cde stmhal: Automatically re-enable IRQs on the USB REPL. 8 years ago
Damien George b7a4f15b34 mp-readline: Save "prompt" string in readline state. 8 years ago
Damien George 95f53461c2 py: Replace py-version.sh with makeversionhdr.py, written in Python. 8 years ago
Damien George f35b5d28db stmhal/pyexec.c: Make raw REPL mode 8-bit clean. 8 years ago