As far as I understand, on the Photon you must build user apps using the same version as the base firmware. If I’ve flashed my Photon to firmware 0.4.2 does that mean that cloud compilation somehow knows it should build my app for version 0.4.2 too?
I was wondering if/how particle compile knows which firmware version to compile for?
System version updates are intended to be backwards compatible, so it’s fine (and expected) to update system firmware from (say) 0.4.0 to 0.4.2 while still compiling/running application firmware built from 0.4.0.
The application code is dynamically linked to the system code, which provides flexibility, allowing newer versions of the system firmware to be installed against an older application image.
Thanks @mdma, this is exactly the information I was looking for!
It sounds like if I update my firmware to 0.4.2, I should be able to run application firmware built on the particle cloud even if it is built for 0.4.0.