I am able to flash code into my Spark Core via USB by doing the following:
$spark compile blink --saveTo blink/blink.bin $spark flash --usb blink/blink.bin
My understanding is that
spark flash uses
dfu_util to upload the firmware.
But what does
spark compile do? Is it getting whatever files necessary from the cloud to build the firmware? Does it do any kind of caching to speed up the process? It’s still quite quick, and this whole process is much faster than cloud based uploading.