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 extmod/modbluetooth: Make all HCI transports trace in the same format. 2023-04-26 11:37:20 +10:00
insert-usb-ids.py all: Fix strings with backslash by using raw string literals. 2023-05-02 11:55:02 +10:00
makemanifest.py tools/makemanifest.py: Fix printing of mpy_cross.CrossCompileError. 2022-11-02 14:06:18 +11:00
manifestfile.py tools/manifestfile.py: Add --unix-ffi option. 2024-02-19 13:32:23 +11:00
metrics.py tools/metrics.py: Fix esp32 and esp8266 board names after renaming. 2023-10-04 15:44:25 +11:00
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 all: Fix various spelling mistakes found by codespell 2.2.6. 2023-10-03 11:24:50 +11:00
tinytest-codegen.py tools/tinytest-codegen.py: Externalise tests list. 2023-11-07 15:53:27 +11:00
uf2conv.py all: Fix strings with backslash by using raw string literals. 2023-05-02 11:55:02 +10:00
uf2families.json
uncrustify.cfg all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
verifygitlog.py CODECONVENTIONS: Require that commits be signed-off by the author. 2023-05-08 12:20:56 +10:00