52 Commits (b04d4a5b1360b73d905cd018ca0182b0d2ff4454)

Author SHA1 Message Date
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
Damien George 99dde4ed1f qemu-arm: Enable GC and native code-gen; enable more tests.
8 years ago
Damien George 4a5895c4eb py: Disable stack checking by default; enable on most ports.
8 years ago
Damien George 85e8e2ed5b qemu-arm: Add 'test' target to Makefile to run and verify test suite.
8 years ago
Damien George 14fab60baf qemu-arm: Get "make RUN_TESTS=1" compiling after changes to core.
8 years ago
Damien George d2d0648ad0 qemu-arm: Set stack limit in main.
8 years ago
Damien George 4ef4ffe1c5 qemu-arm: Prefix includes with py/; remove need for -I../py.
8 years ago
Paul Sokolovsky 3b74c91684 Makefiles: Support py/*.h includes per #1022.
8 years ago
Paul Sokolovsky 46c3ab2004 modsys: Add sys.print_exception(exc, file=sys.stdout) function.
8 years ago
Damien George 451a087075 py: Fix printing of size_t entity; fix qemu-arm for changes to lexer.
8 years ago
Paul Sokolovsky 91386eee26 ports: Define mp_off_t.
8 years ago
stijn 4e54c876a7 Add -Wpointer-arith flag to prevent problems with pointer arithmetic on void*
8 years ago
stijn 2fe4cf7761 Implement kwargs for builtin open() and _io.FileIO
8 years ago
Damien George a91ac2011f py: Make compiler return a proper exception on SyntaxError.
8 years ago
Damien George 52b5d76a6b py: Free non-interned strings in the parser when not needed.
8 years ago
Chris Dearman 8c56241c82 Declare do_str() function before the implementation
9 years ago
Damien George 3c658a4e75 py: Fix bug where GC collected native/viper/asm function data.
9 years ago
Damien George 8dbbbbc793 Put call to qstr_init and mp_init_emergency_exc_buf in mp_init.
9 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t.
9 years ago
Ilya Dmitrichenko e4e55047b3 qemu: fix typo in readme
9 years ago
Damien George 4480cb3711 Provide definition of alloca() in mpconfigport.h.
9 years ago
Paul Sokolovsky 97953f6ce7 qemu-arm: Add port README.
9 years ago
Damien George ee3fd46f13 Rename configuration variables controling Python features.
9 years ago
Damien George 58ebde4664 Tidy up some configuration options.
9 years ago
Paul Sokolovsky 44a949d58c qemu-arm: Disable "io" module.
9 years ago
Ilya Dmitrichenko c1c32d65af qemu-arm: fully integrated test suite.
9 years ago
Paul Sokolovsky 26a9920735 bare-arm, qemu-arm: Make "mpconfig.h" be first included, as other headers depend on it.
9 years ago