59 Commits (45ac651d1a2801bccbdc32fddaa9b029ed4ce879)

Author SHA1 Message Date
Damien George 2283b6d68f py: Pass in address to compiled module instead of returning it. 2 years ago
Jim Mussared 1ba0e8ff96 py/persistentcode: Only emit sub-version if generated code has native. 2 years ago
Damien George fb77be1506 py: Include filename in errors from loading/saving files via "open". 2 years ago
Jim Mussared d94141e147 py/persistentcode: Introduce .mpy sub-version. 2 years ago
Andrew Leech d521899e18 py/persistentcode: Clarify ValueError when native emitter disabled. 2 years ago
Jim Mussared 3a910b1565 py/objstr: Optimise mp_obj_new_str_from_vstr for known-safe strings. 2 years ago
Jim Mussared 8a0ee5a5c0 py/objstr: Split mp_obj_str_from_vstr into bytes/str versions. 2 years ago
David Lechner a98aa66df6 py/persistentcode: Use MP_REGISTER_ROOT_POINTER(). 2 years ago
Damien George 627ba38154 py/parsenum: Optimise when building with complex disabled. 2 years ago
Damien George b37b578214 py/persistentcode: Remove remaining native qstr linking support. 2 years ago
Damien George d4d53e9e11 py/emitnative: Access qstr values using indirection table qstr_table. 3 years ago
Damien George 1fb01bd6c5 py/emitnative: Put a pointer to the native prelude in child_table array. 3 years ago
Damien George b295b6f1f3 py/persistentcode: Remove obsolete comment about qstr window size. 3 years ago
Damien George 4ca96983ff py/persistentcode: Support loading and saving tuples in .mpy files. 3 years ago
Damien George 42d0bd2c17 py/persistentcode: Define enum values for obj types instead of letters. 3 years ago
David Lechner 768879f999 py/smallint: Introduce MP_SMALL_INT_BITS macro. 3 years ago
Damien George 962ad8622e py/parse: Handle check for target small-int size in parser. 3 years ago
Damien George f2040bfc7e py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
Damien George ad4656b861 all: Rename BYTES_PER_WORD to MP_BYTES_PER_OBJ_WORD. 4 years ago
David CARLIER cb30928ac8 py/persistentcode: Introduce MICROPY_PERSISTENT_CODE_SAVE_FILE option. 4 years ago
Damien George 9883d8e818 py/persistentcode: Maintain root ptr list of imported native .mpy code. 4 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
David Lechner 62537a18e3 py: Release GIL during syscalls in reader and writer code. 5 years ago
Damien George 0bd7d1f7f0 py/persistentcode: Move loading of rodata/bss to before obj/raw-code. 5 years ago
Damien George 9ac949cdbd py/persistentcode: Make ARM Thumb archs support multiple sub-archs. 5 years ago
Damien George 360d972c16 py/nativeglue: Add new header file with native function table typedef. 5 years ago
Damien George b47e155bd0 py/persistentcode: Add ability to relocate loaded native code. 5 years ago
Damien George f4601af10a py/persistentcode: Move declarations for .mpy header from .c to .h file. 5 years ago
Damien George 23f0691fdd py/persistentcode: Make .mpy more compact with qstr directly in prelude. 5 years ago
Damien George 9adedce42e py: Add new Xtensa-Windowed arch for native emitter. 5 years ago
Damien George c8c0fd4ca3 py: Rework and compress second part of bytecode prelude. 5 years ago
Damien George b5ebfadbd6 py: Compress first part of bytecode prelude. 5 years ago
Damien George 1f7202d122 py/bc: Replace big opcode format table with simple macro. 5 years ago
stijn 22131a6738 py/persistentcode: Enable persistent code saving for Windows ports. 7 years ago
Paul m. p. P 2920d26af5 py/persistentcode: Ensure prelude_offset is always initialised. 5 years ago
Jun Wu d165a401dc py/persistentcode: Fix compilation with load and save both enabled. 6 years ago
Henrik Vendelbo ab93321e31 py/persistentcode: Change "len" type to size_t for mp_obj_str_get_data. 6 years ago
Damien George 7e90e22ea5 mpy-cross: Add --version command line option to print version info. 6 years ago
Damien George d9d92f27d7 py/compile: Add support to select the native emitter at runtime. 6 years ago
Damien George 9a5f92ea72 py/persistentcode: Bump .mpy version to 4. 6 years ago
Damien George 1396a026be py: Add support to save native, viper and asm code to .mpy files. 6 years ago
Damien George 636ed0ff8d py/emitglue: Remove union in mp_raw_code_t to combine bytecode & native. 6 years ago
Damien George 4f0931b21f py/persistentcode: Define static qstr set to reduce size of mpy files. 6 years ago
Damien George 992a6e1dea py/persistentcode: Pack qstrs directly in bytecode to reduce mpy size. 6 years ago
Damien George 5996eeb48f py/persistentcode: Add a qstr window to save mpy files more efficiently. 6 years ago
Damien George eee1e8841a py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
Sean Burton e33bc59712 py: Remove calls to file reader functions when these are disabled. 6 years ago
Damien George 5604b710c2 py/emitglue: When assigning bytecode only pass bytecode len if needed. 7 years ago
Damien George ff93fd4f50 py/persistentcode: Bump .mpy version number to version 3. 7 years ago