Toolchain version error

Hey @armystic,

Since deviceOS 2.0.0-rc.1, gcc-arm 9.2.1 has been the required toolchain. Were you using 9.2.1 before you encountered this issue?

Could you provide some additional information regarding your system and how you are building firmware? Any additional information you can provide would greatly help to find a solution.

Seeing more of the compiler output would be helpful, as it would eliminate a lot of guesswork.

Are you using Particle Workbench or are you using the toolchains manually?

Looking back at your post history, would I be correct to assume that you are still on Linux?


My first recommendation would be to try Particle Workbench. There is an installer for Ubuntu, but if you are using a non-debian distribution or you have an existing VSCode installation you can install the Particle Workbench extension pack with:

$ code --install-extension particle.particle-vscode-pack

The Workbench documentation is available here.


Second, if you are more interested in developing firmware from the CLI and are looking for a tool to facilitate that, I would highly recommend neopo, my personal solution for local Particle development that can install and manage the necessary toolchains in a similar manner to Workbench, while providing many additional features to make installing and using Particle toolchains on *nix as painless and portable as possible.

The easiest way to install neopo is to use the universal installer:

$ bash <(curl -sL neopo.xyz/install)

Neopo is incredibly easy to install and use in a variety of environments. The installer supports macOS, Ubuntu, Debian, Mint, Fedora, Manjaro, Arch, and Void Linux. It even works on ARM devices like Raspberry Pi!

Here is the online neopo documentation and the neopo manpage.