Install particle command line interface: https://github.com/spark/particle-cli
The compilation is processed on the Particle Cloud.
particle compile target_harware project_files
Example: in case of a photon
particle compile photon $(find . -iname '*.h' -o -iname '*.cpp' -o -iname '*.ino' )
The command create a photon_firmware_*.bin file. Example:
photon_firmware_1457783257040.bin
You need to specify a target device. The available devices can be requested by the following command:
particle list
particle flash device_id photon_firmware_1457783257040.bin
Particle-Neopixel: https://github.com/technobly/Particle-NeoPixel