I’ve been using Workbench for a while and can perform cloud compile/flash etc, but local compiling fails. I’ve followed instructions to put my device in DFU mode but Workbench reports that the compiler cannot be found:
bash-4.4$ which arm-none-eabi-gc
which: no arm-none-eabi-gc in (… and extensive path list …)
Assuming you already have, but to make sure, you need to configure your project for the desired platform and device OS version via
Then you can try
followed up by
I’ve tried that but still no joy. After going through that sequence I get the following message:
make[1]: C:/Users/====/.particle/toolchains/gcc-arm/5.3.1/bin/arm-none-eabi-gcc: Command not found
…/build/arm-tools.mk:61: *** "ARM gcc version 5.3.1 or later required, but found ". Stop.
make: *** [C:\Users====.particle\toolchains\buildscripts\1.5.0\Makefile:62: flash-all] Error 2
The terminal process terminated with exit code: 2
i would suggest you flip the order of those commands - that is: run Particle: Audit Environmentfirst, then if you notice any fields like ok: false, run Particle: Reset Environment and see if that helps any.
if it does not, go ahead and share the non-sensitive bits of the audit report here and we can take it from there
and, yes, spaces in paths are a gotcha / footgun atm - see here:
I’m having this exact problem. It looks like I can’t get an install of gcc-arm@5.3.1 no matter how many times I reset the environment. Any help would be appreciated. Is there a way to do a manual install of this?
@ScruffR nope, I had never seen that before. After running … sudo apt-get install gcc-multilib libncurses5:i386 … I could now compile on my 64-bit install of PopOS. Thanks!