133 Commits (ef61b5ecb59e9b4e37e3e3c023c62d583c23eb16)

Author SHA1 Message Date
Dan Halbert ef61b5ecb5 Initial merge of micropython v1.9.2 into circuitpython 2.0.0 (in development) master.
6 years ago
Damien George 4ec803a42a all: Make static dicts use mp_rom_map_elem_t type and MP_ROM_xxx macros.
6 years ago
Javier Candeira 35a1fea90b all: Raise exceptions via mp_raise_XXX
6 years ago
Damien George 7d4a2f773c all: Make use of $(TOP) variable in Makefiles, instead of "..".
6 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments
6 years ago
Alexander Steffen 299bc62586 all: Unify header guard usage.
6 years ago
Alexander Steffen c9a48eb464 docs,teensy: Use the name MicroPython consistently in documentation
6 years ago
Scott Shawcroft 30ee7019ca Merge tag 'v1.9.1'
6 years ago
Damien George 396d6f6d4e teensy/Makefile: Include relevant sources in list for qstr extraction.
6 years ago
Damien George 4f9858e86d stmhal: Move pybstdio.c to lib/utils/sys_stdio_mphal.c for common use.
6 years ago
Damien George a5609e1cf1 teensy: Provide dummy implementation of extint_register_pin.
6 years ago
Damien George 6ff0ecfffc ports: Convert from using stmhal's input() to core provided version.
6 years ago
Scott Shawcroft aaf01481aa Change the approach for input so that its not included in every single build. Put it next to readline instead.
6 years ago
Scott Shawcroft 32a4eb2c53 atmel-samd: Add input support. Fixes #143
6 years ago
Damien George 4c307bfba1 all: Move BYTES_PER_WORD definition from ports to py/mpconfig.h
6 years ago
Damien George b6c7e4b143 all: Use full path name when including mp-readline/timeutils/netutils.
6 years ago
Krzysztof Blazewicz 75589272ef all/Makefile: Remove -ansi from GCC flags, its ignored anyway.
6 years ago
Damien George e1782042f5 teensy/lexerfrozen: Make mp_lexer_new_from_file raise an exception.
6 years ago
Damien George 9e2b2a1c17 teensy/main: Remove unnecessary header includes.
6 years ago
Damien George 739465c04f teensy: Convert to use builtin help function.
6 years ago
Paul Sokolovsky eac22e29a5 all: Consistently update signatures of .make_new and .call methods.
6 years ago
Damien George e5ef15a9d7 py/lexer: Provide generic mp_lexer_new_from_file based on mp_reader.
6 years ago
Damien George 4ebdb1f2b2 py: Be more specific with MP_DECLARE_CONST_FUN_OBJ macros.
6 years ago
Damien George 542f05d228 teensy: Update to provide new mp_hal_pin_XXX functions following stmhal.
6 years ago
Damien George 824f5c5a32 py/vstr: Combine vstr_new_size with vstr_new since they are rarely used.
6 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct.
6 years ago
Dave Hylands d08c9d342f Updated FROZEN_DIR support as per f28efa1971
6 years ago
Delio Brignoli e2ac8bb3f1 py: Add MICROPY_USE_INTERNAL_PRINTF option, defaults to enabled.
7 years ago
Dave Hylands 253e1a6f67 teensy: Fix execution of frozen boot.py and main.py
7 years ago
Damien George 675d1c9c60 ports: Remove typedef of machine_ptr_t, it's no longer needed.
7 years ago
Damien George 8766bc02dc cc3200, teensy: Remove broken malloc/free/realloc macro helpers.
7 years ago
Georgia Reh eb78a5c530 teensy: Update the README with OSX specific information and tips.
7 years ago
Colin Hogben 104aa26271 cc3200, stmhal, teensy: Use pyhelp_print_obj function.
7 years ago
Jan Čapek d76c65f599 py: Add rules for automated extraction of qstrs from sources.
7 years ago
Paul Sokolovsky 9b0714b24c py: Declare help, input, open builtins in core.
7 years ago
Damien George 0a2e9650f5 py: Add ability to have frozen persistent bytecode from .mpy files.
7 years ago
Paul Sokolovsky d3b1f0b627 py/runtime: mp_stack_ctrl_init() should be called immediately on startup.
7 years ago
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.
7 years ago
Damien George 84b245f187 lib/utils: Add pyexec_frozen_module to load and execute frozen module.
7 years ago
Ryan Shaw f99491cbf7 stmhal: uart.any() function now returns number of bytes available.
7 years ago
Paul Sokolovsky 73ff0687f2 lib/utils/printf: Move from stmhal/ .
7 years ago
Damien George 40274fec9c lib/pyexec: Move header pyexec.h from stmhal directory.
7 years ago
Dave Hylands 53ea2b5ce2 teensy: Switch over to using frozen modules instead of memzip
7 years ago
Dave Hylands 074d713bfb lib/memzip: Factor out memzip from teensy/ into lib/memzip.
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 eb099b9893 teensy: Switch from HAL_* to mp_hal_* functions.
7 years ago
Paul Sokolovsky 0dbd928cee Makefiles: Remove duplicate object files when linking.
7 years ago
Damien George 4078336d38 teensy: Update to compile with latest changes to stmhal Pin class.
7 years ago
Paul Sokolovsky e0f5df579b all: Make netutils.h available to all ports by default.
7 years ago