Difference between revisions of "Particle Photon"

(Build Firmware)
(Build housenode on particle core)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
https://github.com/spark/firmware/blob/develop/docs/gettingstarted.md
 
https://github.com/spark/firmware/blob/develop/docs/gettingstarted.md
 +
 +
=Install dependencies=
 +
https://github.com/spark/firmware/blob/develop/docs/dependencies.md#1-download-and-install-dependencies
 +
 +
=Installing CLI=
 +
*https://github.com/spark/particle-cli
  
 
=DFU Mode=
 
=DFU Mode=
Line 17: Line 23:
 
Comile application and upload:  
 
Comile application and upload:  
 
<syntaxhighlight lang="bash">make all PLATFORM=photon APP=housenode program-dfu</syntaxhighlight>
 
<syntaxhighlight lang="bash">make all PLATFORM=photon APP=housenode program-dfu</syntaxhighlight>
 +
 +
=Build housenode on particle core=
 +
#skip the "build firmware" step above. everything is built from the firmware/main directory.
 +
<syntaxhighlight lang="bash">make all PLATFORM=core APP=housenode program-dfu</syntaxhighlight>

Latest revision as of 18:02, 29 December 2015

Install dependencies

Installing CLI

DFU Mode

  1. Reset or power on while holding the "SETUP" button.
  2. Hold until the light blinks yellow.

Build Firmware

Change dir to firmware/modules

make all PLATFORM=photon program-dfu

Build Application

Simlink application to firmware/user/applications

Change dir to firmware/main

Comile application and upload:

make all PLATFORM=photon APP=housenode program-dfu

Build housenode on particle core

  1. skip the "build firmware" step above. everything is built from the firmware/main directory.
make all PLATFORM=core APP=housenode program-dfu