I have been running particle workbench on a clean install of VS Code running on a clean install of Ubuntu 18.10. So far everything seems to work great except for the local compile - I have had this same issue on RC5, 6, and 7. I get the following output:
cd "/home/scott/.particle/toolchains/deviceOS/0.8.0-rc.27/firmware-0.8.0-rc.27//main" && make all fatal: not a git repository (or any of the parent directories): .git make: Entering directory `/home/scott/.particle/toolchains/deviceOS/0.8.0-rc.27/firmware-0.8.0-rc.27/main' make -C ../modules/argon/user-part all fatal: not a git repository (or any of the parent directories): .git make: /home/scott/.particle/toolchains/gcc-arm/5.3.1/bin/arm-none-eabi-gcc: Command not found make: Entering directory `/home/scott/.particle/toolchains/deviceOS/0.8.0-rc.27/firmware-0.8.0-rc.27/modules/argon/user-part' /home/scott/.particle/toolchains/deviceOS/0.8.0-rc.27/firmware-0.8.0-rc.27/build/arm-tools.mk:61: *** "ARMgcc version 5.3.1 or later required, but found ". Stop. make: Leaving directory `/home/scott/.particle/toolchains/deviceOS/0.8.0-rc.27/firmware-0.8.0-rc.27/modules/argon/user-part' make: *** [modules/argon/user-part] Error 2 make: Leaving directory `/home/scott/.particle/toolchains/deviceOS/0.8.0-rc.27/firmware-0.8.0-rc.27/main' make: *** [compile-user] Error 2 The terminal process terminated with exit code: 2
Not sure about the ARM GCC version…
/home/scott/.particle/toolchains/gcc-arm/5.3.1/bin/arm-none-eabi-gcc definitely exists. I also tried installing manually via
sudo apt install gcc-arm-none-eabi. As a result
arm-none-eabi-gcc -dumpversion now returns
6.3.1 from the terminal but the same issue persists. Any ideas?