Particle Photon
From Robert-Depot
https://github.com/spark/firmware/blob/develop/docs/gettingstarted.md
Contents
Install dependencies
Installing CLI
DFU Mode
- Reset or power on while holding the "SETUP" button.
- 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
- skip the "build firmware" step above. everything is built from the firmware/main directory.
make all PLATFORM=core APP=housenode program-dfu