Error with path for ARM toolchain while using Segger Embedded Studio

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Error with path for ARM toolchain while using Segger Embedded Studio

      Recently I had a strange anomaly, where I build the project twice in a row and on the second build it seems that the path to the ARM toolchain has broken. I'm confused because I haven't changed anything for that to happen. The error is the following:
      Error starting process C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2021.10\bin/cc1
      The /cc1 comes out of nowhere because the path to the toolchain is:
      C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2021.10\arm-none-eabi\bin

      I want to know if someone had an issue with this and how did they fix it?
      It seems to me that this is a bug. I have it in setup up in the system's PATH, so corrupted installation is out of the question.

      I re-added the toolchain directory, but that doesn't fix the problem.

      Stack Overflow link: stackoverflow.com/questions/79…ng-segger-embedded-studio
      Images
      • 6HIhliIB.png

        27.96 kB, 1,599×502, viewed 28 times
      • 53PvnSpH.png

        79.93 kB, 2,143×493, viewed 30 times
      • BHuxVwsz.png

        97.99 kB, 1,694×1,160, viewed 28 times
      • gYRya3fI.png

        143.86 kB, 1,681×1,394, viewed 25 times