84 Commits (4bcbbfdb6cde6293085f4123090890c889cad50d)

Author SHA1 Message Date
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
Jim Mussared 23109988c2 stm32/uart: Allow static IRQ handler registration. 4 years ago
Damien George 3ff7079277 lib/utils/mpirq: Add mp_irq_init func, and clean up unused init method. 4 years ago
Damien George 9d5edb3559 lib/utils: Protect all of mpirq.c with MICROPY_ENABLE_SCHEDULER. 4 years ago
David Lechner 77ed6f69ac tools/uncrustify: Enable more opts to remove space between func and '('. 4 years ago
Damien George b2030e1661 lib/utils/pyexec: Add missing MP_ERROR_TEXT when compiler disabled. 5 years ago
Damien George 4bbba3060d lib/utils: Lock the scheduler when executing hard callback functions. 5 years ago
Jim Mussared 710426024a all: Factor gchelper code to one place and use it for unix & ARM ports. 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 abe2caf6df py/scheduler: Move clearing of kbd traceback to mp_keyboard_interrupt. 5 years ago
Damien George 9efb36bfa6 py/scheduler: Move mp_keyboard_interrupt from lib/utils to py core. 5 years ago
Damien George 5a91cd9ff3 lib/utils/pyexec: Handle pending exceptions after disabling kbd intrs. 5 years ago
odewdney b51a2c266a lib/utils: Change default value of pyexec_mode_kind to 0 to put in bss. 5 years ago
Yonatan Goldschmidt 61d2b40ad5 lib/utils/pyexec: Introduce MICROPY_REPL_INFO, wrap debug prints in it. 5 years ago
Damien George 09376f0e47 py: Introduce MP_ROM_NONE macro for ROM to refer to None object. 5 years ago
Damien George af20c2ead3 py: Add global default_emit_opt variable to make emit kind persistent. 5 years ago
Damien George b7da67cdaa lib/utils/sys_stdio_mphal: Add support to poll sys.stdin and sys.stdout. 5 years ago
Damien George 2459162599 lib/utils/interrupt_char: Invalidate interrupt char at start up. 6 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 8d1275ec0f lib/utils/gchelper: Add gchelper.h header file for assembler functions. 6 years ago
Damien George f608f54ab0 lib/utils/gchelper_m3: Add gc_helper_get_sp() function. 6 years ago
Damien George 90e1303b2d lib/utils/gchelper_m3: Add license header and clean up code. 6 years ago
Damien George e6d97e8a0b stm32: Move gchelper assembler code to lib/utils for use by other ports. 6 years ago
Damien George 7bbde67cb2 lib/utils/printf: Exclude __GI_vsnprintf alias for gcc 9 and above. 6 years ago
Damien George 1fa8f977f5 lib/utils/pyexec: Implement paste mode with event driven REPL. 6 years ago
Tobias Badertscher 06236bf28e lib/utils: Add generic MicroPython IRQ helper functions. 6 years ago
Damien George f5d46a88aa lib/utils/pyexec: Forcefully unlock the heap if locked and REPL active. 6 years ago
Damien George da2d2b6d88 py/mpconfig.h: Introduce MICROPY_DEBUG_PRINTER for debugging output. 6 years ago
Glenn Ruben Bakke 8a4a05c1ee lib/utils: Expose pyb_set_repl_info function public 8 years ago
Damien George b2b06450e3 lib/utils: Fix to support compiling with object representation D. 6 years ago
stijn 8ad30fa433 lib/utils/printf: Make DEBUG_printf implementation more accessible. 6 years ago
Damien George d9b9fbc41a lib/utils/pyexec: Update to work with new MICROPY_HW_ENABLE_USB option. 7 years ago
Damien George 925c5b1da2 lib/utils/pyexec.h: Include py/obj.h because its decls are needed. 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
Alexander Steffen 299bc62586 all: Unify header guard usage. 7 years ago
Damien George 4f9858e86d stmhal: Move pybstdio.c to lib/utils/sys_stdio_mphal.c for common use. 8 years ago
Damien George ab954ed513 lib/utils/interrupt_char: Remove support for KBD_EXCEPTION disabled. 8 years ago
Ville Skyttä ca16c38210 various: Spelling fixes 8 years ago
Tom Collins 288ea06e7c lib/utils/pyexec: Update event-driven REPL to match non-event REPL. 8 years ago
Damien George 6e74d24f30 py: Add micropython.schedule() function and associated runtime code. 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
Damien George 895807137e lib/utils: Remove old pyhelp helper, replaced with py/builtinhelp.c. 8 years ago