Spark CLI flashing example is missing an argument [Solved]

In the CLI documents

http://docs.spark.io/cli/#running-from-source-advanced-spark-flash

the example command for the spark flashing a pre-compiled file is missing the device id arg.

What is on the page is:

spark flash --usb firmware.bin

What should be is
spark flash device_id firmware.bin

@chipmonk,

the command spark flash --usb firmware.bin is correct when you flash via USB (DFU mode).

spark flash core_id firmware.bin is also a valid command. :wink:

1 Like