micropython/tools
Damien George c8c0fd4ca3 py: Rework and compress second part of bytecode prelude.
This patch compresses the second part of the bytecode prelude which
contains the source file name, function name, source-line-number mapping
and cell closure information.  This part of the prelude now begins with a
single varible length unsigned integer which encodes 2 numbers, being the
byte-size of the following 2 sections in the header: the "source info
section" and the "closure section".  After decoding this variable unsigned
integer it's possible to skip over one or both of these sections very
easily.

This scheme saves about 2 bytes for most functions compared to the original
format: one in the case that there are no closure cells, and one because
padding was eliminated.
2019-10-01 12:26:22 +10:00
..
.gitattributes
.gitignore
bootstrap_upip.sh
build-stm-latest.sh
cc1
check_code_size.sh
codestats.sh
dfu.py
file2h.py
gen-changelog.sh
gen-cpydiff.py
gendoc.py
insert-usb-ids.py
make-frozen.py
mpy-tool.py py: Rework and compress second part of bytecode prelude. 2019-10-01 12:26:22 +10:00
mpy_bin2res.py
mpy_cross_all.py
pyboard.py tools/pyboard.py: Add filesystem commands to ls/cat/cp/rm remote files. 2019-07-25 15:56:01 +10:00
pydfu.py
tinytest-codegen.py tests: Add tests for sys.settrace feature. 2019-08-30 16:48:22 +10:00
uf2conv.py tools: Add uf2conv.py from Microsoft/uf2 repository. 2019-07-01 17:18:44 +10:00
upip.py tools/upip.py: Add support for multiple index URLs with custom default. 2019-05-15 15:46:16 +10:00
upip_utarfile.py