5,710
edits
Changes
→Build housenode on particle core
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=#Reset or power on while holding the "SETUP" button. #Hold until the light blinks yellow. =Build Firmware=Change dir to firmware/modules <syntaxhighlight lang="bash">make all PLATFORM=photon program-dfu</syntaxhighlight> =Particle PhotonBuild Application=Compiling Simlink application to firmware/user/applications Change dir to firmware/main Comile application and uploadingupload: <syntaxhighlight lang="bash">make all PLATFORM=photon APP=housenode program-dfu</syntaxhihglightsyntaxhighlight> =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>