pyfwimagebuilder - Firmware Image Builder
This utility is used to produce image files which can be used with the pymdfu tool: https://pypi.org/project/pymdfu/
Overview
- install using pip from pypi: https://pypi.org/project/pyfwimagebuilder
Usage
pyfwimagebuilder can be used as a command-line interface or a library
Building an image from the command-line
for help, use:
pyfwimagebuilder --help
Example usage:
Building an image:
pyfwimagebuilder build -i myapp.hex -c myconfig.toml -o myimage.img
Decoding an image:
pyfwimagebuilder decode -i myapp.img -c myconfig.toml -o myimage.txt
Additional command-line switches
- -v LEVEL for selecting logging verbosity ('debug', 'info', 'warning', 'error', 'critical')
Changelog
[1.3.0] - July 2025
- PYTOOLS-158, PYTOOLS-162, PYTOOLS-481: Added image binary decoding
- PYTOOLS-479: Added file format support for Cortex-M0+
- PYTOOLS-163: Added warning for data that is not within the device memory range
- PYTOOLS-492: Fixed segment inclusion to not skip data that is in the valid range when there is data that is outside
[1.0.0] - December 2023
- Public beta release
[0.0.1] - October 2023
- Package planning
Metadata
Release files for pyfwimagebuilder 1.3.0.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyfwimagebuilder-1.3.0.16-py3-none-any.whl | Python 3 | none | any | Details |
Release files / pyfwimagebuilder-1.3.0.16-py3-none-any.whl
| Download URL | pyfwimagebuilder-1.3.0.16-py3-none-any.whl |
|---|---|
| Size | 24.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a891a06a90d4348a2ecb42a5adad1a503e00bb14e12ba4bde8bd3104828b0082
|
|
BLAKE2b-256 checksum How to use checksums |
405a2df3a74d7b37c6ab0c847ae04807298bd680dcc19d2ba911712b7d59c0ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.15
|