Crates.io | nvmbuilder |
lib.rs | nvmbuilder |
version | 1.1.1 |
created_at | 2025-08-23 10:07:11.990337+00 |
updated_at | 2025-09-18 16:53:51.122095+00 |
description | Build hex files from a layout file and excel data |
homepage | |
repository | https://github.com/fordtom/nvmbuilder |
max_upload_size | |
id | 1807381 |
size | 80,588 |
Build flash blocks from a layout file (TOML/YAML/JSON) and an Excel workbook, then emit Intel HEX files.
nvmbuilder <BLOCK@FILE>... -x <XLSX> \
[--main-sheet <NAME>] [-v <VARIANT>] [-d] [-o <DIR>] \
[--prefix <STR>] [--suffix <STR>] [--record-width N]
name@layout_file
(positional). layout_file
may be .toml
, .yaml
/.yml
, or .json
.Main
).hex
files (default: out
)settings
instead of CLI flags:
The order of preference for value selection is debug -> variant -> default. Ensure you always have default filled. Strings in the excel can point to different sheets as a way of providing arrays.
Examples live in the examples/
directory.
# Single block from TOML layout
nvmbuilder block@examples/block.toml -x examples/data.xlsx -o out
# Multiple blocks with a variant and debug values
nvmbuilder blockA@examples/block.toml blockB@examples/block.toml -x examples/data.xlsx -v VarA -d -o out
# Using YAML or JSON layouts
nvmbuilder block@examples/block.yaml -x examples/data.xlsx -o out
nvmbuilder block@examples/block.json -x examples/data.xlsx -o out
Outputs are written to the chosen directory as {prefix_}{block}{_suffix}.hex
.