nerves_firmware_ssh v0.1.0 mix firmware.push
Pushes firmware to a Nerves device.
This task will take a fw file path passed as —firmware or discover it from a target passed as —target.
Command line options
--target
- The target string of the target configuration.--firmware
- The path to a fw file.--port
- The TCP port number to use to connect to the target.--user-dir
- The path to where your ssh private key files are located.
For example, to push firmware to a device at an IP by specifying a fw file
mix firmware.push 192.168.1.120 —firmware _images/rpi3/my_app.fw
Or by discovering it with the target
mix firmware.push 192.168.1.120 —target rpi3
Link to this section Summary
Link to this section Functions
Link to this function
run(argv)
A task needs to implement run
which receives
a list of command line args.
Callback implementation for Mix.Task.run/1
.