You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ particle flash
NAME:
particle flash
DOES:
flash remotely pushes a compiled firmware binary to one of your devices over the air, or directly
over USB / dfu. If you send it one or more source files, or a directory of source, it will compile
that remotely first, and push the compiled binary to your device instead, or in the case of code errors
will show you the errors from the server.
You can also substitute "tinker", "voodoo", or "cc3000" to flash the provided app.
particle flash --usb tinker
particle flash my_device tinker
USE:
particle flash [--usb or device_id] firmware.bin
particle flash [--usb or device_id] source_folder
particle flash [--usb or device_id] file1.ino file2.cpp file2.h file3.cpp
Specifically:
particle flash [--usb or device_id] source_folder
But...
$ particle flash --usb dir_containing_cpp_files
Found DFU device 2b04:d006
checking file dir_containing_cpp_files
spawning dfu-util -d 2b04:d006 -a 0 -i 0 -s 0x080A0000:leave -D dir_containing_cpp_files
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
dfu-util: Could not read 170 bytes from dir_containing_cpp_files: Is a directory
Error writing firmware...dfu-util: Could not read 170 bytes from dir_containing_cpp_files: Is a directory
Maybe I've misunderstood?
The text was updated successfully, but these errors were encountered:
Specifically:
But...
Maybe I've misunderstood?
The text was updated successfully, but these errors were encountered: