micropython/tools
Damien George bf18ddd989 tools/mpy-tool.py: Fix merging of more than 128 mpy files.
The argument to MP_BC_MAKE_FUNCTION (raw code index) was being encoded as a
byte instead of a variable unsigned int.  That meant that if there were
more than 128 merged mpy files the encoding would be invalid.

Fix that by using `mp_encode_uint(idx)` to encode the raw code index.  And
also use `Opcode` constants for the opcode values to make it easier to
understand the code.

Signed-off-by: Damien George <damien@micropython.org>
2024-03-19 10:08:05 +11:00
..
autobuild all: Switch to new preview build versioning scheme. 2023-10-06 12:10:14 +11:00
mpremote tools/mpremote: Reduce dependency on importlib_metadata. 2024-01-17 11:27:47 +11:00
.gitattributes
.gitignore
boardgen.py all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
cc1
ci.sh tools/ci.sh: Add Arduino GIGA to stm32 CI build. 2024-03-15 18:11:28 +11:00
codeformat.py all: Replace "black" with "ruff format". 2023-11-03 13:30:38 +11:00
codestats.sh all: Prune trailing whitespace. 2024-03-07 16:25:17 +11:00
dfu.py
file2h.py
gen-changelog.sh tools/gen-changelog.sh: Exclude "-preview" tags from generated log. 2024-01-05 15:06:14 +11:00
gen-cpydiff.py docs: Add note about position-only arguments in CPython vs MicroPython. 2024-01-25 11:56:38 +11:00
hci_trace_to_pcap.py
insert-usb-ids.py
makemanifest.py
manifestfile.py tools/manifestfile.py: Add --unix-ffi option. 2024-02-19 13:32:23 +11:00
metrics.py
mpy-tool.py tools/mpy-tool.py: Fix merging of more than 128 mpy files. 2024-03-19 10:08:05 +11:00
mpy_bin2res.py
mpy_cross_all.py
mpy_ld.py py/persistentcode: Bump .mpy sub-version. 2023-10-16 11:25:31 +11:00
pyboard.py all: Update Python formatting to ruff-format. 2023-11-03 13:30:41 +11:00
pydfu.py
tinytest-codegen.py tools/tinytest-codegen.py: Externalise tests list. 2023-11-07 15:53:27 +11:00
uf2conv.py
uf2families.json
uncrustify.cfg
verifygitlog.py