1
0
Fork
You've already forked intel_hex_tool
0
No description
  • Python 100%
2025年11月23日 13:13:23 -08:00
tests add patch option 2025年11月23日 13:13:23 -08:00
.gitignore init 2025年10月11日 01:37:58 -07:00
.pre-commit-config.yaml init 2025年10月11日 01:37:58 -07:00
intel_hex_tool.py add patch option 2025年11月23日 13:13:23 -08:00
LICENSE init 2025年10月11日 01:37:58 -07:00
pyproject.toml bump version and switch to full byte array vs chunks 2025年11月16日 15:25:09 -08:00
README.md update readme 2025年11月11日 13:50:29 -08:00
uv.lock bump version and switch to full byte array vs chunks 2025年11月16日 15:25:09 -08:00

Intel Hex Tool

Simple CLI tool for working with intel hex or raw binary files. Written specifically for working with firmware for the AD5M 3D printer so only the subset of intel hex required for those files is implemented.

Installation

The script can be used standalone with any python 3.6 or higher installation. If installed as a python package, an alias iht can be used.

Install via pip to an existing venv:

pip install git+https://github.com/a-johnston/intel_hex_tool

Install with uv to ~/.local/bin for use outside of a venv:

uv tool install intel-hex-tool --from git+https://github.com/a-johnston/intel_hex_tool

Usage

iht -h
iht write -h
iht info -h
iht diff -h
iht disasm -h

Development

Some dev tools require at least python 3.8. Example environment setup using uv:

git clone git@github.com:a-johnston/intel_hex_tool.git
cd intel_hex_tool
uv sync
source .venv/bin/activate

Optionally install or manually run the precommit hooks:

prek install
prek run --all-files

Run tests:

python -m unittest