At this moment there are two branches where Photon firmware development is taking place – develop and latest.
With the recent release of 0.4.4, if I need to compile locally, am I right to say that:
bleeding-edge updates: use the develop branch (and requires the PARTICLE_DEVELOP=1 environment var to compile, untested/unreleased)
latest released firmware: use the latest branch, and therefore can be considered as the ‘stable’ release for Photon firmware (and not the develop branch?)
The part that confused me is the tagline on the spark/firmware github for Photon firmware:
Also, will I be able to compile for Cores using the latest branch too? Or should that be done in master at this point in time?
This is from what I can gather from the docs here:
Ok, so the develop and latest branches are not ready for Core development atm. That’s fine, thanks for the note for Cores.
Photon-wise though: does the compiler currently compile Photon firmware against the master branch, or the latest branch?
I suggest that the description on spark/firmware (on github) be edited to provide a clearer differentiation between the latest and develop branches, instead of having to burrow down to build/readme.md to figure this out.
Since V0.4.4, the develop branch is way ahead and tested fixes are pushed to latest . Changes live in develop till they are full tested and moved to latest where eventually becomes the next release
Hope this helps though my explanation might be just scratching the surface