# stdlib: Add Intel HEX support to InstallRawStep · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/bf0d4360879d203025d6618e693feda768246ea8)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: bf0d4360879d203025d6618e693feda768246ea8

Requested commit: bf0d4360879d203025d6618e693feda768246ea8

Commit: bf0d4360879d203025d6618e693feda768246ea8

Tree: 4998f0504b90c42b20106744520f3408011e8479

Author: Evan Haas

Committer: Evan Haas

## Message

```
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>

```

## Parents

- [21a5769afefb47553391ae1ef801f64a58253c33](https://git.cafe/gitcafe/zig/commit/21a5769afefb47553391ae1ef801f64a58253c33?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/bf0d4360879d203025d6618e693feda768246ea8?format=markdown)
