Nerves v1.3.2 mix firmware View Source

Build a firmware image for the selected target platform.

This task builds the project, combines the generated OTP release with a Nerves system image, and creates a .fw file that may be written to an SDCard or sent to a device.

Command line options

  • --verbose - produce detailed output about release assembly

Environment variables

  • NERVES_SYSTEM - may be set to a local directory to specify the Nerves system image that is used

  • NERVES_TOOLCHAIN - may be set to a local directory to specify the Nerves toolchain (C/C++ crosscompiler) that is used

Link to this section Summary

Functions

A task needs to implement run which receives a list of command line args

Link to this section Functions

A task needs to implement run which receives a list of command line args.

Callback implementation for Mix.Task.run/1.