I had successfully used the Web IDE to flash my Particle Boron with some code that does GPS stuff. All was well. However, I wanted to get debugging features, so I’m trying to use the Particle Workbench in VS Code. I downloaded the installer and followed the steps. I made a new project with the “Create a Project” button and used the “Configure Project for Device” command to set my OS version (1.4.4) and device type (Boron) and put in my devices ID.
I tried to compile locally and this is all that will happen in the terminal:
> Executing task: make -f 'C:\Users\phil\.particle\toolchains\buildscripts\1.9.2\Makefile' compile-user -s < :::: COMPILING APPLICATION Creating c:/Repos/Particle/gps-tracker/target/1.4.4/boron/platform_user_ram.ld ...
It will create the platform_user_ram.ld file and put this in it (or add another line with the same thing if I try a second time):
_user_part_static_ram_size = 89K;
It just freezes here forever though. I still have a spinner in the VS Code footer that says “Building…”, but nothing happens. I’ve waited like 15+ minutes: nothing.
I tried flashing locally (which in hindsight was a terrible idea) and it put the device in DFU mode successfully, but then gets stuck exactly like the compile command. Now I can’t cloud flash the device with the Web IDE anymore either because it says the device is offline.
If it’s relevant, the code I’m trying to flash is just the default .ino file with nothing but an empty setup and loop function.
Any ideas of other things to try?