# `mix ehls.flash`
[🔗](https://github.com/elixir-hls/elixir-hls/blob/v0.1.0/lib/mix/tasks/ehls.flash.ex#L1)

Writes the board's flash, after `mix ehls.build`:

    mix ehls.flash                    # the parts a run needs that differ from what the board holds
    mix ehls.flash --standalone       # also the bitstream and the application: power on -> the application
    mix ehls.flash vm lib             # these parts, whatever the board holds
    mix ehls.flash --forget           # forget what the board holds (after writing it another way)

The parts are the target's (`c:EHLS.Target.flash_images/1`; on the Tang Primer 25K `bitstream`, `vm`, `lib`,
`app`). What was written is recorded (`EHLS.Flash`), for `mix ehls.run` and the next `mix ehls.flash`.
Option `--no-build`: as built.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
