# Toolchain version error

**URL:** <https://community.particle.io/t/toolchain-version-error/58874>\
**Category:** Firmware\
**Created:** [December 24, 2020, 3:15am UTC](https://community.particle.io/t/toolchain-version-error/58874 "2020-12-24T03:15:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![armystic](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@armystic](https://community.particle.io/u/armystic)\
**Post date:** [December 24, 2020, 3:15am UTC](https://community.particle.io/t/toolchain-version-error/58874/1 "2020-12-24T03:15:21Z")

</div>

Hello,

Strange error message while compiling firmware after I up-versioned my toolchain!! Looks like a bug!?

\*\*\* “ARM gcc version 9.2.1 or later required, but found 10.2.1”. Stop.

---

<div class="post-metadata">

**Author:** ![nrobinson2000](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nrobinson2000/32/15624_2.png) [@nrobinson2000](https://community.particle.io/u/nrobinson2000)\
**Post date:** [December 24, 2020, 4:24am UTC](https://community.particle.io/t/toolchain-version-error/58874/2 "2020-12-24T04:24:29Z")

</div>

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,](https://community.particle.io/t/building-firmware-for-photon/21334/3) would I be correct to assume that you are still on Linux?

* * *

My first recommendation would be to try [Particle Workbench.](https://www.particle.io/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:

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

```

The Workbench documentation is available [here.](https://docs.particle.io/tutorials/developer-tools/workbench/)

* * *

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](https://neopo.xyz), 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:

```auto
$ 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!](https://community.particle.io/t/neopo-a-lightweight-solution-for-local-particle-development/56378/15)

Here is the [online neopo documentation](https://neopo.xyz/docs/full-docs) and the [neopo manpage.](https://neopo.xyz/docs/neopo.html)

---

<div class="post-metadata">

**Author:** ![armystic](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@armystic](https://community.particle.io/u/armystic)\
**Post date:** [December 24, 2020, 5:15am UTC](https://community.particle.io/t/toolchain-version-error/58874/3 "2020-12-24T05:15:07Z")

</div>

Hey @nrobinson2000

Thanks for your fine reply.

> [@nrobinson2000](#):
>
> 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?

I had compiled some years ago on version 4.x of the toolchain and never encountered this issue. Note that my current version of the tool chain in higher than 9.2.1, so a bit strange.

> [@nrobinson2000](#):
>
> 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,](https://community.particle.io/t/building-firmware-for-photon/21334/3) would I be correct to assume that you are still on Linux?

Here is the output after a compile attempt, didn't go very far:

~/Software/particle/device-os$ make PLATFORM=photon  
Building firmware for Production Photon, platform ID: 6, product ID: 6  
make -C ./communication  
make[1]: Entering directory '~/Software/particle/device-os/communication'  
~/Software/particle/device-os/build/arm-tools.mk:64: \*\*\* "ARM gcc version 9.2.1 or later required, but found 10.2.1". Stop.  
make[1]: Leaving directory '~/Software/particle/device-os/communication'  
build/recurse.mk:11: recipe for target 'communication' failed  
make: \*\*\* [communication] Error 2

I'm on Ubuntu 18.04 and for the "arm-none-eabi-gcc -v" :  
gcc version 10.2.1 20201103 (release) (GNU Arm Embedded Toolchain 10-2020-q4-major)

I didn't know about neopo, certain to look into it.

Thanks again, but still don't understand why my higher version of the toolchain should remain incompatible with the target of 9.2.1, I thought it may have just been a compile script bug.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/3/2/3291e3c9351789fe8620ae5bcec8d3fec67ff221.png) [@system](https://community.particle.io/u/system)\
**Post date:** [June 24, 2021, 5:15pm UTC](https://community.particle.io/t/toolchain-version-error/58874/4 "2021-06-24T17:15:18Z")

</div>

Closed on June 24, 2021, 5:15pm UTC

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
