Is there a way to set the Build Target in the Desktop IDE so it isn’t on the latest release. I have problems with release 7.0 and twice now have accidentally updated my Photon while updating code.
Yes, there is - just don’t select the version that’s marked “Default”.
But the target version needs to be selected for each device individually.
I know that but when I restart the Desktop IDE it automatically goes back to default and I forget to reselect it.
That’s odd - I’ll have to double check.
But you could use this workaround in your code
#if (SYSTEM_VERSION != 0x00060300)
#error "Firmware requires target version 0.6.3"
#endif
Thanks ScruffR.
1 Like