Hello,
I have the same problem as you.
I have an Electron device and I try to blink a LED (my code is this one : https://docs.particle.io/guide/getting-started/examples/core/#blink-an-led).
The firmware.bin come from the WebIDE, but I don’t see where you can change de compilation device (Photon or Electron) in the WebIDE.
Here is the error :
$ particle flash --usb firmware.bin
Found DFU device 2b04:d00a
Error writing firmware...Incorrect platform id (expected 10, parsed 0), use --force to override
What can I do ?
Thanks for your help