25 Commits (78e0e76b4f91e7c51d757779814447eeaab54f9a)

Author SHA1 Message Date
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
Damien George ab8012bd80 py/emitglue: Add include of unistd.h for read function. 9 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Damien George c3f64d9799 py: Change qstr_* functions to use size_t as the type for str len arg. 9 years ago
Damien George 4e7107a572 py: Change mp_print_strn_t func type to use size_t for the str length. 9 years ago
Damien George 44e6e348d6 py/emitglue: Implement persistent saving and loading of const objects. 9 years ago
Damien George 39a8deb95f py/emitglue: Add feature-flag header to .mpy to detect bytecode compat. 9 years ago
Paul Sokolovsky 295ea12411 py/emitglue: Host definition of mp_verbose_flag. 9 years ago
Damien George b5b1f2c527 py/emitglue: Add mp_raw_code_load_mem to load raw-code from memory. 9 years ago
Damien George f148727b78 py/emitglue: Only compile raw-code fatfs loader when on thumb2 platform. 9 years ago
Damien George d8c834c95d py: Add MICROPY_PERSISTENT_CODE_LOAD/SAVE to load/save bytecode. 9 years ago
Damien George 713ea1800d py: Add constant table to bytecode. 9 years ago
Damien George 3a3db4dcf0 py: Put all bytecode state (arg count, etc) in bytecode. 9 years ago
Damien George 9988618e0e py: Implement full func arg passing for native emitter. 10 years ago