74 Commits (fe16e785fe76ca2c84b82512c427c7fa57176abe)

Author SHA1 Message Date
Damien George 85f2b239d8 py/showbc: Pass in an mp_print_t struct to all bytecode-print functions. 4 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Milan Rossa 310b3d1b81 py: Integrate sys.settrace feature into the VM and runtime. 5 years ago
Jun Wu b152bbddd1 py: Define EMIT_MACHINE_CODE as EMIT_NATIVE || EMIT_INLINE_ASM. 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 eee1e8841a py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
Damien George cc2bd63c57 py/emitnative: Implement yield and yield-from in native emitter. 6 years ago
Damien George 43f1848bfa py: Make viper functions have the same entry signature as native. 6 years ago
Damien George b630dfcc1d py: Fix compiling with debug enabled and make more use of DEBUG_printf. 6 years ago
Damien George b488a4a848 py/objgenerator: Eliminate need for mp_obj_gen_wrap wrapper instances. 6 years ago
Damien George 5604b710c2 py/emitglue: When assigning bytecode only pass bytecode len if needed. 7 years ago
Stefan Naumann ace9fb5405 py: Add verbose debug compile-time flag MICROPY_DEBUG_VERBOSE. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 46a6592f9a py/emitglue: Refactor to remove assert(0), to improve coverage. 8 years ago
Damien George ad297a1950 py: Allow inline-assembler emitter to be generic. 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
Damien George 32444b759a py: Don't use anonymous unions, name them instead. 10 years ago
Damien George ff8dd3f486 py, unix: Allow to compile with -Wunused-parameter. 10 years ago
Damien George d2d64f00fb py: Add "default" to switches to allow better code flow analysis. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Paul Sokolovsky 429e3f077e unix: Make -v dump memory info at exit. 10 years ago
Damien George 1084b0f9c2 py: Store bytecode arg names in bytecode (were in own array). 10 years ago
Damien George 564963a170 py: Fix debug-printing of bytecode line numbers. 10 years ago
Damien George b427d6ae86 py: Fix line number printing for file with 1 line. 10 years ago