Flashing Via VS (solved)

Ive been having some issues with the web IDE mainly connection issues so i figured id have a got with VS ive created a project and complied it.

selected my device ide to flash when connected via usb however when i flash the device i get the following and nothing happens

> Executing task: make -f 'C:\Users\AGL OT\.particle\toolchains\buildscripts\1.8.0\Makefile' flash-user -s <

:::: PUTTING DEVICE INFO DFU MODE

Done.

:::: FLASHING APPLICATION

make[2]: *** /cygdrive/c/Users: Is a directory.  Stop.
make[1]: *** [../build/recurse.mk:12: modules/boron/user-part] Error 2
make: *** [C:\Users\AGL OT\.particle\toolchains\buildscripts\1.8.0\Makefile:72: flash-user] Error 2
The terminal process terminated with exit code: 2

Press any key to close the terminal.

Do you have a space in your username? If so, that would definitely cause the compilation to fail because of the space in your home folder.

1 Like

Thanks heaps, i change it and was able to complie and flash no problems.
Cheers

1 Like