38 Commits (596fb73927df4f9202729ff9d92a1db479a95ed7)

Author SHA1 Message Date
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
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Anton Patrushev f008263022 py/persistentcode: Define mp_raw_code_save_file() for any unix target. 7 years ago
Damien George 72732fea1a py/persistentcode: Allow to compile with complex numbers disabled. 8 years ago
Damien George dd11af209d py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 8 years ago
Damien George 1831034be1 py: Allow lexer to raise exceptions during construction. 8 years ago
Damien George 6a11048af1 py/persistentcode: Bump .mpy version due to change in bytecode. 8 years ago
Damien George 891dc5c62c py/persistentcode: Replace mp_uint_t with size_t where appropriate. 8 years ago
Damien George 6b239c271c py: Factor out persistent-code reader into separate files. 8 years ago
Damien George 6810f2c134 py: Factor persistent code load/save funcs into persistentcode.[ch]. 8 years ago
Damien George af8d791bd0 esp8266: Enable importing of precompiled .mpy files. 8 years ago
Chris Packham 8c6856d2e7 py/emitglue.c: provide mp_raw_code_load_file for any unix architecture 8 years ago
Damien George 26295e04ff py/emitglue: Use more compact mp_raise_ValueError function. 8 years ago
Paul Sokolovsky a314b842bb py/emitglue: Fix build on AArch64 (ARMv8, etc.) related to loading .mpy files. 9 years ago
Damien George 0a2e9650f5 py: Add ability to have frozen persistent bytecode from .mpy files. 9 years ago
Damien George ed0c11236f py/emitglue: Make mp_raw_code_t* arguments constant pointers. 9 years ago
Damien George 6d24dc23b8 py/emitglue: Move typedef of mp_raw_code_t from .c to .h file. 9 years ago
Markus Fix 4f0080346b py/emitglue: Get persistent bytecode working on Linux ARM platform. 9 years ago
Damien George ea23520403 py: Add MICROPY_DYNAMIC_COMPILER option to config compiler at runtime. 9 years ago
Damien George 8f54c08691 py/inlineasm: Add ability to specify return type of asm_thumb funcs. 9 years ago
Damien George 8bb4931fec py/emitglue: Use mp_obj_is_float instead of MP_OBJ_IS_TYPE. 9 years ago
Damien George 1404d620c0 py/emitglue: Add more feature flags to .mpy persistent bytecode output. 9 years ago