0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

stdlib: Add Intel HEX support to InstallRawStep

This allows writing HEX files with `exe.installRaw`, where `exe` is a
`LibExeObjStep`. A HEX file will be written if the file extension is `.hex`
or `.ihex`, otherwise a binfile will be written. The output format can be
explicitly chosen with `exe.installRawWithFormat("filename", .hex);`
(or `.bin`)

Part of #2826

Co-authored-by: Akbar Dhanaliwala <akbar.dhanaliwala@gmail.com>
This commit is contained in:
Evan Haas 2021-08-26 10:19:31 -07:00
commit bf0d436087
No known key found for this signature in database
GPG key ID: F0DEE3724F3290B3
2 changed files with 230 additions and 6 deletions