mgos-combine
A tool to combine all parts of a Mongoose OS firmware ZIP-file into a single binary.
Usage
Usage: mgos-combine [options]
-i, --input Path to the firmware zip file (default: ./build/fw.zip)
-o, --output Name of the output file (default: output.bin)
-s, --size Output file size in KB (default: 4096)
-f, --force Force writing to an output file that is too small
-h, --help Show this help
-v, --version Prints current version and exits. All other options will be ignored
Compile the software yourself
With a working go environment on your machine, just git clone
this repository,
run go get
to install missing libraries, and run go build -o mgos-combine .
to compile.
Acknowledgments
Parts of the initial code were developed by ert
as part of a coding exercise.