# `Fwup`

Configurable embedded Linux firmware update creator and runner

# `apply`

Apply a fwupdate

* `device` - block device to write too. See `get_device/0`.
* `task`   - Can be any task in the fwup.conf.
             Traditionally it will be `upgrade` or `complete`
* `path`   - path to the firmware file
* `extra_args` - extra optional args to pass to fwup.

# `exe`

Returns the path to the `fwup` executable.

# `get_devices`

Returns a list of `["/path/to/device", byte_size]`

# `send_chunk`

# `stream`

Stream a firmware image to the device

Options

* `:name` - register the started GenServer under this name (defaults to Fwup.Stream)
* `:fwup_env` - the OS environment to pass to fwup

---

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