Commit Graph

89 Commits (b4c1b355bb621c0b1e9980d2d83262327bd001f8)

Author SHA1 Message Date
Jeff Epler 238e121236 protocols: Allow them to be (optionally) type-safe 3 years ago
Scott Shawcroft ae30a1e5aa
Refine _bleio 3 years ago
Scott Shawcroft 966a48b23a
More size_t usage 3 years ago
Damien George b3939e2513 lib/utils/printf: Exclude __GI_vsnprintf alias for gcc 9 and above. 3 years ago
Scott Shawcroft 6440af5c06
Hide the traceback for the ReloadException. 3 years ago
Craig Forbes 1532863d83 Set __file__ for the main source file (e.g. code.py, main.py) 4 years ago
Scott Shawcroft e6b140e7a0
Support print("", flush=True) 4 years ago
Scott Shawcroft 355abc835e
Fix output overflow and make help translatable 4 years ago
Noralf Trønnes 1ed0e45fc2 Add i2cslave.I2CSlave bindings 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
Damien George 925c5b1da2 lib/utils/pyexec.h: Include py/obj.h because its decls are needed. 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
Alexander Steffen 299bc62586 all: Unify header guard usage. 5 years ago
Damien George 4f9858e86d stmhal: Move pybstdio.c to lib/utils/sys_stdio_mphal.c for common use. 5 years ago
Damien George ab954ed513 lib/utils/interrupt_char: Remove support for KBD_EXCEPTION disabled. 5 years ago
Ville Skyttä ca16c38210 various: Spelling fixes 5 years ago
Tom Collins 288ea06e7c lib/utils/pyexec: Update event-driven REPL to match non-event REPL. 5 years ago
Scott Shawcroft 939c0045db Switch to a shared piece of code to compute start and length of a 6 years ago
Damien George 6e74d24f30 py: Add micropython.schedule() function and associated runtime code. 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
Glenn Ruben Bakke 159202ad00 lib/utils: Expose pyb_set_repl_info function public 6 years ago
Damien George 3b2fd4df31 lib/utils/pyexec: Allow to compile when the uPy compiler is disabled. 6 years ago
Scott Shawcroft e9659e61f8 Switch enum-like attributes to all caps and add print support for them. Make room for this functionality by adding a shared __enter__ function object. #76 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
Damien George 895807137e lib/utils: Remove old pyhelp helper, replaced with py/builtinhelp.c. 6 years ago
Scott Shawcroft 25ae844d55 Rename to CircuitPython 6 years ago
Damien George d89cafd5c3 lib/utils/interrupt_char: Use core-provided mp_kbd_exception if enabled. 6 years ago
Scott Shawcroft b6f1eebab3 atmel-samd: Add APA102 support and flash more advanced status. 6 years ago
Scott Shawcroft ea1320bee7 Add uheap for debugging the size of objects. Still not perfect though. 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
Erik Moqvist f64e806f50 lib/utils/pyhelp.c: Use mp_printf() instead of printf() 6 years ago
Damien George 4ebdb1f2b2 py: Be more specific with MP_DECLARE_CONST_FUN_OBJ macros. 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