Building Particle Firmware on Windows

Hi there. I’m having trouble with the instructions here:

…at the stage where I’m running:

make clean all PLATFORM=electron -s program-dfu

It’s falling over in at the line:

arm_gcc_version:=$(shell $(CC) --version | head -n 1)

The | obviously isn’t going to work on Windows, so I’m wondering if this has to be run under Cygwin? I have tried commenting the relevant lines out (since it’s only a compiler version check), but then I hit:

test: echo: binary operator expected

…so I’m obviously doing something fundamentally wrong. FYI, I have GCC, Make, etc. installed and there are no spaces in paths.

This thread might be of use: Local toolchain with Windows [SOLVED]

1 Like