micropython/tools
Anson Mansfield c9af4e1a7e tools/mpy-tool.py: Add Compiler Explorer JSON output.
This commit adds a `--json` option to `mpy-tool.py`, in order to generate
Compiler-Explorer-compatible JSON annotation information for the bytecode
disassembly. Some of this information might be theoretically possible to
parse out from the text itself, but not all of it is, e.g. disambiguating
child references with non-unique simple names.

Signed-off-by: Anson Mansfield <amansfield@mantaro.com>
2025-11-24 12:40:39 +11:00
..
autobuild tools/autobuild: Use same length Git hash abbreviation in file names. 2025-10-23 16:23:56 +11:00
mpremote tools/mpremote: Fix exception when using pts. 2025-10-24 17:31:51 +11:00
.gitattributes micropython-upip: Mark as binary file and re-commit. 2015-06-06 23:09:23 +03:00
ar_util.py tools/mpy_ld.py: Allow linking static libraries. 2025-03-17 13:03:27 +11:00
boardgen.py tools/boardgen.py: Ensure board pin locals_dict has consistent order. 2025-06-10 11:09:14 +10:00
cc1 tools/cc1: Fix ruff lint check with list length. 2025-11-05 12:46:29 +11:00
ci.sh tools/ci.sh: Build ESP32_GENERIC_C5 as part of esp32 CI. 2025-11-17 13:57:48 +11:00
codeformat.py tools/codeformat.py: Print filename + linenumber when dedenting fails. 2025-08-11 13:35:34 +10:00
codestats.sh all: Prune trailing whitespace. 2024-03-07 16:25:17 +11:00
dfu.py tools/dfu.py: Make tool work with python3 when parsing DFU files. 2021-11-01 15:46:59 +11:00
file2h.py tools: Remove unneeded future imports. 2025-09-15 14:54:09 +10:00
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: Label table columns as "CPython output" and "MicroPython output". 2025-10-03 23:29:11 +10: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 tools: Remove unneeded future imports. 2025-09-15 14:54:09 +10:00
makemanifest.py tools: Remove unneeded future imports. 2025-09-15 14:54:09 +10:00
manifestfile.py tools: Remove unneeded future imports. 2025-09-15 14:54:09 +10:00
metrics.py tools/metrics.py: Tersely show the commits in the size report. 2025-10-23 16:15:26 +11:00
mpy_bin2res.py tools/mpy_bin2res: Tools to convert binary resources to Python module. 2017-07-27 14:41:27 +03:00
mpy_cross_all.py all: Remove MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE. 2021-09-16 16:04:03 +10:00
mpy_ld.py all: Go back to using default ruff quote style. 2025-07-24 12:48:18 +10:00
mpy-tool.py tools/mpy-tool.py: Add Compiler Explorer JSON output. 2025-11-24 12:40:39 +11:00
pyboard.py tools/pyboard.py: Add timeout argument to Pyboard.exec_/exec. 2025-07-23 12:42:44 +10:00
pydfu.py tools: Remove unneeded future imports. 2025-09-15 14:54:09 +10:00
uf2conv.py all: Fix strings with backslash by using raw string literals. 2023-05-02 11:55:02 +10:00
uf2families.json tools/uf2conv.py: Update to latest version. 2022-02-02 23:43:58 +11:00
uncrustify.cfg all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
verifygitlog.py tools/verifygitlog.py: Allow long co-author and sign-off names. 2025-05-15 13:03:11 +10:00