55 Commits (b04d4a5b1360b73d905cd018ca0182b0d2ff4454)

Author SHA1 Message Date
Delio Brignoli e2ac8bb3f1 py: Add MICROPY_USE_INTERNAL_PRINTF option, defaults to enabled.
6 years ago
Damien George 675d1c9c60 ports: Remove typedef of machine_ptr_t, it's no longer needed.
7 years ago
Colin Hogben 8aa3cbf153 lib/utils/pyexec: Condition-out GC calls from pyexec.
7 years ago
Damien George 6eb17c31a9 ports: Disable async/await on bare-arm, minimal, pic16bit, cc3200.
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
Damien George 1934dca6de bare-arm: Disable enumerate and reversed builtins to make port more bare.
8 years ago
Damien George c3bd9415cc py: Make qstr hash size configurable, defaults to 2 bytes.
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 06593fb0f2 py: Use a wrapper to explicitly check self argument of builtin methods.
8 years ago
Damien George 5aa311d330 py: Add attrtuple object, for space-efficient tuples with attr access.
8 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism.
8 years ago
Damien George 42e0c59308 py: Add MICROPY_COMP_{DOUBLE,TRIPLE}_TUPLE_ASSIGN config options.
8 years ago
Damien George 0bfc7638ba py: Protect mp_parse and mp_compile with nlr push/pop block.
8 years ago
Damien George ddd1e18801 py: Add config option MICROPY_COMP_MODULE_CONST for module consts.
8 years ago
Damien George 4a5895c4eb py: Disable stack checking by default; enable on most ports.
8 years ago
Damien George b4b10fd350 py: Put all global state together in state structures.
8 years ago
Damien George c2e22d66da bare-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 a4c52c5a3d py: Optimise lexer by exposing lexer type.
8 years ago
Paul Sokolovsky 91386eee26 ports: Define mp_off_t.
8 years ago
Damien George 1e9a92f84f py: Use shorter, static error msgs when ERROR_REPORTING_TERSE enabled.
8 years ago
Sven Wegener 1a5a6d1403 bare-arm: Add dummy __assert_func and __fatal_error
8 years ago
Damien George dd4f4530ab py: Add builtin memoryview object (mostly using array code).
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
Damien George 377b80b624 py: Print imported module's location (__file__) if available.
9 years ago
Damien George 3c658a4e75 py: Fix bug where GC collected native/viper/asm function data.
9 years ago
Damien George 75ec22bf11 py: #if guard qstrs that are optional.
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
Paul Sokolovsky 7e4ec3bf4f bare-arm: Hint of setting MICROPY_ERROR_REPORTING to REPORTING_TERSE.
9 years ago
Paul Sokolovsky 81df1e6c98 bare-arm: Disable array module and even bytearray type.
9 years ago
Paul Sokolovsky 0a1ea40273 bare-arm: Enable link map file.
9 years ago
Sven Wegener c3cabf4e33 bare-arm, stmhal, teensy: Duplicate -nostdlib to CFLAGS
9 years ago
Sven Wegener afc67c6dc5 bare-arm, stmhal: Fix --nostdlib to -nostdlib
9 years ago
Damien George 4480cb3711 Provide definition of alloca() in mpconfigport.h.
9 years ago
Damien George f917f06384 bare-arm: Disable slice and set.
9 years ago
Damien George fb510b3bf9 Rename bultins config variables to MICROPY_PY_BUILTINS_*.
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
Damien George 2bb179e124 bare-arm: Change output file from flash.elf to firmware.elf.
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