Difference between revisions of "Particle Photon"

From Robert-Depot
Jump to: navigation, search
(Particle Photon)
(Build Firmware)
Line 1: Line 1:
 
https://github.com/spark/firmware/blob/develop/docs/gettingstarted.md
 
https://github.com/spark/firmware/blob/develop/docs/gettingstarted.md
 +
 +
=DFU Mode=
 +
#Reset or power on while holding the "SETUP" button.
 +
#Hold until the light blinks yellow.
  
 
=Build Firmware=
 
=Build Firmware=
Line 5: Line 9:
  
 
<syntaxhighlight lang="bash">make all PLATFORM=photon program-dfu</syntaxhighlight>
 
<syntaxhighlight lang="bash">make all PLATFORM=photon program-dfu</syntaxhighlight>
+
 
 
=Build Application=
 
=Build Application=
 
Simlink application to firmware/user/applications
 
Simlink application to firmware/user/applications

Revision as of 11:34, 2 December 2015

https://github.com/spark/firmware/blob/develop/docs/gettingstarted.md

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