78 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
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
Scott Shawcroft 30ee7019ca Merge tag 'v1.9.1'
6 years ago
Damien George a960d50579 qemu-arm/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
Paul Sokolovsky 9db1c50f18 qemu-arm: Enable micropython.mem_*() functions to allow more tests.
6 years ago
Ville Skyttä ca16c38210 various: Spelling fixes
6 years ago
Damien George e5e49bedcb qemu-arm/Makefile: Adjust object-file lists to get correct dependencies.
6 years ago
Damien George f1609bc843 ports: Add ilistdir in uos module.
6 years ago
Damien George 49de9b68d2 qemu-arm, stmhal: Remove dummy memory.h since it's no longer needed.
6 years ago
Damien George 4c307bfba1 all: Move BYTES_PER_WORD definition from ports to py/mpconfig.h
6 years ago
Damien George 125eae1ba3 py/modbuiltins: For round() builtin use nearbyint instead of round.
6 years ago
Krzysztof Blazewicz 75589272ef all/Makefile: Remove -ansi from GCC flags, its ignored anyway.
6 years ago
Damien George 25b6b62562 qemu-arm: Move lexer constructors to within NLR handler block.
6 years ago
Damien George a7a2344c9d qemu-arm: Add basic uos module with generic VFS capabilities.
6 years ago
Damien George be3d7f91e5 py/nlr.h: Mark nlr_jump_fail as NORETURN.
6 years ago
Damien George e4be56a0ea qemu-arm: Enable machine module and associated tests.
6 years ago
Scott Shawcroft 7dbe4e98a7 Make slice make_new match mp_make_new_fun_t exactly, check the input type and enable it for qemu tests.
6 years ago
Damien George d812eb3435 qemu-arm/mpconfigport.h: Enable MICROPY_PY_BUILTINS_POW3 option.
6 years ago
Damien George f1db8a3097 qemu-arm: Don't compile tests in "REPL" mode.
6 years ago
Damien George ca973bd308 qemu-arm: Enable software floating point support, and float tests.
6 years ago
Damien George 4ebdb1f2b2 py: Be more specific with MP_DECLARE_CONST_FUN_OBJ macros.
6 years ago
Damien George 6a4c6fc023 qemu-arm: Remove SRC_TEST_C from SRC_QSTR list, it's not needed.
6 years ago
Damien George b0a15aa735 qemu-arm: Enable lots of extmods and enable tests for them.
6 years ago
Delio Brignoli e2ac8bb3f1 py: Add MICROPY_USE_INTERNAL_PRINTF option, defaults to enabled.
7 years ago
Damien George f003310dee qemu-arm: Enable MICROPY_PY_ALL_SPECIAL_METHODS.
7 years ago
Damien George 675d1c9c60 ports: Remove typedef of machine_ptr_t, it's no longer needed.
7 years ago
Daniel Tralamazza 9626662819 qemu-arm: Enable gcc LTO option for nlrthumb.c
7 years ago
Damien George b9e3fde21a qemu-arm: Disable gcc LTO option for nlrthumb.c.
7 years ago
Damien George 330165a2cc py: Add MP_STATE_THREAD to hold state specific to a given thread.
7 years ago
Damien George be989be861 qemu-arm: Enable builtin override feature, and enable more tests.
7 years ago
Damien George 1ded19d4b3 qemu-arm: Reinitialise uPy heap and runtime at start of each test.
7 years ago
Paul Sokolovsky d3b1f0b627 py/runtime: mp_stack_ctrl_init() should be called immediately on startup.
7 years ago
Damien George 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args.
7 years ago
Damien George 1b0aab621b py: Change struct and macro for builtin fun so they can be type checked.
7 years ago
Damien George 731f359292 all: Add py/mphal.h and use it in all ports.
7 years ago
Paul Sokolovsky 0dbd928cee Makefiles: Remove duplicate object files when linking.
7 years ago
Paul Sokolovsky e0f5df579b all: Make netutils.h available to all ports by default.
7 years ago
Damien George 4300c7dba2 py: Remove dependency on printf/fwrite in mp_plat_print.
7 years ago
Damien George 58e0f4ac50 py: Allocate parse nodes in chunks to reduce fragmentation and RAM use.
7 years ago
Delio Brignoli cceff157dd qemu-arm: Enable array slice assignment to get memoryview1 test to pass.
8 years ago
Damien George c4b592d379 bare-arm, minimal, qemu-arm: Make do_str() take parse-input-kind as arg.
8 years ago
Damien George 2941d5c714 qemu-arm: Get compiling again with recent changes to print framework.
8 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism.
8 years ago
Damien George 7e758b1cf8 stmhal, qemu-arm: Enable sys.maxsize attribute.
8 years ago
Paul Sokolovsky 562fa575a6 qemu-arm: Handle sys.exit() to allow skip tests in testsuite.
8 years ago
Damien George b191038198 qemu-arm: Enable source line numbers, for easier debugging.
8 years ago
Damien George 0bfc7638ba py: Protect mp_parse and mp_compile with nlr push/pop block.
8 years ago