Package providing local compilation for Particle devices in Particle Dev
This package consumes the following services:
Particle Dev Local Compiler
Note: local compilation is an experimental feature and may have issues with some projects.
Installation steps
Install Docker for your operating system
- OS X
- Windows 64 bit (unfortunately Docker for Windows isn't available for 32 bit Windows)
- Linux.
Usage
Selecting target platform/version
Local compiler uses the same platform/firmware version selectors as the cloud compile.
Note: currently only Particle devices are supported. Namely: Core, Photon, P1 and Electron.
Note: not all platforms/versions might work. We recommend using the latest ones.
Compiling locally
With project opened you should see two icons with check icon on them:
First one will do a cloud compile as previously.
Second does a local compilation. Clicking it will create build
directory in your project and fill it with compilation results.
Resulting binary can be flashed over the air using Flash icon or over the wire using particle flash --usb <filename>
CLI command.