![Forrest logo](/images/logo.png)
particle:tldr:3a8c2
particle: Update a device to use a specific app remotely.
$ particle flash ${device_name} ${path-to-program-bin}
try on your machine
The command "particle flash ${device_name} ${path-to-program-bin}" is a command-line command used to flash a firmware or program binary file to a Particle device.
Here's a breakdown of each part of the command:
- "particle flash": This is the command line tool provided by Particle, a popular Internet of Things (IoT) device platform.
- "${device_name}": This is a placeholder that should be replaced with the actual name or ID of the Particle device you want to flash the program to. It could be something like "device123" or "my_particle_device".
- "${path-to-program-bin}": This is another placeholder that should be replaced with the actual file path or location of the binary (compiled) program you want to flash to the device. It should point to the specific binary file that you want to load onto the device.
By entering this command and replacing the placeholders, you can flash the specified program binary onto the desired Particle device, updating its firmware or program.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.