mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
particle: add page (#3356)
This commit is contained in:
parent
8edd7e9b1f
commit
5ad73d10f3
1 changed files with 32 additions and 0 deletions
32
pages/common/particle.md
Normal file
32
pages/common/particle.md
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# particle
|
||||||
|
|
||||||
|
> A command-line tool for interacting with Particle devices.
|
||||||
|
> More information: <https://docs.particle.io/tutorials/developer-tools/cli>.
|
||||||
|
|
||||||
|
- Log in or create an account for the Particle CLI:
|
||||||
|
|
||||||
|
`particle setup`
|
||||||
|
|
||||||
|
- Display a list of devices:
|
||||||
|
|
||||||
|
`particle list`
|
||||||
|
|
||||||
|
- Create a new Particle project interactively:
|
||||||
|
|
||||||
|
`particle project create`
|
||||||
|
|
||||||
|
- Compile a Particle project:
|
||||||
|
|
||||||
|
`particle compile {{device_type}} {{path/to/source_code.ino}}`
|
||||||
|
|
||||||
|
- Update a device to use a specific app remotely:
|
||||||
|
|
||||||
|
`particle flash {{device_name}} {{path/to/program.bin}}`
|
||||||
|
|
||||||
|
- Update a device to use the latest firmware via serial:
|
||||||
|
|
||||||
|
`particle flash --serial {{path/to/firmware.bin}}`
|
||||||
|
|
||||||
|
- Execute a function on a device:
|
||||||
|
|
||||||
|
`particle call {{device_name}} {{function_name}} {{function_arguments}}`
|
Loading…
Add table
Reference in a new issue