587 Commits (2eba98f1e0d292de0f7e48ce228221ef50c01967)

Author SHA1 Message Date
Damien George 360d972c16 py/nativeglue: Add new header file with native function table typedef. 5 years ago
Damien George 7f24c29778 tools/mpy-tool.py: Support qstr linking when freezing Xtensa native mpy. 5 years ago
Yonatan Goldschmidt b2dd443d92 tools/makemanifest.py: Use sys.executable when invoking Python scripts. 5 years ago
Andrew Leech d2e6cfd8fd tools/makemanifest.py: Skip freezing unsupported files with warning. 5 years ago
Mirko Vogt 2f71d66ef7 tools/makemanifest.py: Follow symlinks when freezing linked directories. 5 years ago
Damien George 36c9be6f60 tools/mpy-tool.py: Use "@progbits #" attribute for native xtensa code. 5 years ago
Jim Mussared 8ba963cfa3 tools/makemanifest.py: Eval relative paths w.r.t. current manifest file. 5 years ago
Damien George e81f538e25 tools: Add mechanism to provide a manifest of frozen files. 5 years ago
Damien George 8e8cfa6f53 tools/make-frozen.py: Allow to run with no directory passed in. 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 5716c5cf65 py/persistentcode: Bump .mpy version to 5. 5 years ago
Josh Lloyd 7d58a197cf py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions. 5 years ago
Damien George 1f7202d122 py/bc: Replace big opcode format table with simple macro. 5 years ago
Damien George 5889cf58db py/bc0: Order opcodes into groups based on their size and format. 5 years ago
Damien George c69f58e6b9 tools/mpy-tool.py: Fix freezing of non-bytecode funcs with settrace. 5 years ago
Damien George b29fae0c56 py/bc: Fix size calculation of UNWIND_JUMP opcode in mp_opcode_format. 5 years ago
Damien George 4691b43c8a tools/mpy-tool.py: Add initial support for frozen with settrace. 5 years ago
Milan Rossa 498e35219e tests: Add tests for sys.settrace feature. 5 years ago
Jim Mussared 0bd1eb80ff qemu-arm: Add testing of frozen native modules. 5 years ago
Jim Mussared 4ab5156c01 tools/mpy-tool.py: Force native func alignment to halfword/word on ARM. 5 years ago
Damien George 4d94fae833 tools/pyboard.py: Add filesystem commands to ls/cat/cp/rm remote files. 5 years ago
Damien George f073f2b543 tools: Add uf2conv.py from Microsoft/uf2 repository. 5 years ago
Jun Wu b152bbddd1 py: Define EMIT_MACHINE_CODE as EMIT_NATIVE || EMIT_INLINE_ASM. 6 years ago
Damien George 9d3031cc9d tools/mpy-tool.py: Fix linking of qstr objects in native ARM Thumb code. 5 years ago
Damien George faf3d3e9e9 tools/mpy-tool.py: Fix linking qstrs in native code, and multiple files. 6 years ago
Damien George 993ca572ca tools/upip.py: Add support for multiple index URLs with custom default. 6 years ago
Damien George 56f6ceba7f tools/pyboard.py: Don't accumulate output data if data_consumer used. 6 years ago
Damien George 74ed06828f tools/mpy-tool.py: Fix init of QStrWindow, and remove unused variable. 6 years ago
Damien George 643d2a0e86 tools/mpy-tool.py: Adjust use of super() to make it work with Python 2. 6 years ago
rhubarbdog 869a8b70ce tools/pyboard.py: Add missing line from example usage comments. 6 years ago
Andrew Leech 89ff506513 py: Update and rework build system for including external C modules. 6 years ago
Ayke van Laethem 2e516074da py: Implement a module system for external, user C modules. 6 years ago
Damien George 6e11d86318 tools/upip.py: Use "raise arg" instead of no-arg raise form, for native. 6 years ago
Damien George 9a5f92ea72 py/persistentcode: Bump .mpy version to 4. 6 years ago
Damien George ea3c80a514 tools/mpy-tool.py: Add support for freezing native code. 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 5a2599d962 py: Replace POP_BLOCK and POP_EXCEPT opcodes with POP_EXCEPT_JUMP. 6 years ago
Dave Hylands c932639063 tools/pydfu.py: Fix regression so tool runs under Python 2 again. 6 years ago
Dave Hylands 39eef27083 tools/mpy-tool.py: Fix build error when no qstrs present in frozen mpy. 6 years ago
Damien George 814d580a15 tools/mpy-tool.py: Fix calc of opcode size for opcodes with map caching. 6 years ago
Damien George 4f25a8b6a4 tools/pydfu.py: Improve DFU reset, and auto-detect USB transfer size. 6 years ago
Martin Dybdal 7795b2e5c3 tools/pyboard.py: In TelnetToSerial.close replace try/except with if. 6 years ago
Andrew Leech a2703649ea tools/pydfu: Workaround stdio flush error on Windows with Python 3.6. 6 years ago
Martin Dybdal 5ed8226e02 tools/pyboard.py: Change base class of PyboardError to Exception. 6 years ago