Retiring old Device OS versions from the cloud compiler

Starting on January 6, 2020, the firmware versions older than 0.6.0 will be retired from the cloud compiler. Trying to compile with the Web IDE or CLI against a retired version will give this message.

Error: Compiling for this version of Device OS is not supported anymore. Upgrade your device and try again.

The most likely reason you’ll run into this situation is that some time in the past you changed the version of Device OS you target when compiling for a particular device in the Web IDE and didn’t go back to select a more recent version. Open the Devices tab and select the default release in the Device OS target dropdown. Then compile your application again and when it gets flashed, your device will be upgraded to a newer version of Device OS.

Targeting a retired Device OS version:
image

Switch to targeting a supported Device OS version:
image

For more information about updating Device OS, see the Particle documentation.

Note that devices running old Device OS versions will still be able to connect to the cloud. Only the ability to cloud compile against those version is being retired.

4 Likes

The versions of Device OS older than 0.6.0 have been retired from the cloud compiler.

Hi!

Is there any way how to compile code against older OS versions? Ideally something like tinker on 0.4.1 or even older,

Thank you!

Why 0.4.1?
What does not work with 0.6.0 (which already is ancient)?

For local building you’d need to download the old device OS repo and find the correct toolchain as may be outlined in some old threads in this forum.

Thank you for the response, I am trying to recover a Photon stuck in safe mode. It doesnt accept any device OS or user firmware that I flash - always return back to safe mode. So, I thought giving him ancient version of tinker to see if it accepts it and gets to executing user code.
We are running a local cloud, so this issue might be caused by that.

Can you not get it to any other system mode? Updating the device in either serial or dfu is usually much more manageable.

I didn’t mention that this is a deployed device, on a different continent - otherwise it is a 1 minute work over DFU mode :slight_smile:

1 Like

That definitely makes a difference. What device OS is on the photon now?

Have you tried flashing the stock Tinker via CLI?

particle flash <deviceIDorName> tinker
// or
particle flash --cloud <deviceIDorName> tinker

This way a ubiquitous/generic precompiled version of Tinker will be sent to the device and should not require a device OS update.

1 Like

Have you attempted Device Restore USB | Tools | Particle? It runs directly in Google Chrome and should be able to recover most devices.

1 Like