particle-dev-local-compiler

Package providing local compilation for Particle devices in Particle Dev

spark

3,257

0

0.1.3

MIT

GitHub

This package consumes the following services:

Particle Dev Local Compiler

Note: local compilation is an experimental feature and may have issues with some projects.

Particle Dev Local Compiler

Installation steps

Install Docker for your operating system

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:

Flash and compile buttons

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.