Particle Dev has been giving me a hassle lately, and only with a specific project I’m working on. I’ll summarize.
- Particle Dev will compile my project successfully for the Core (this is the default if no “device” has been selected), resulting in a
- Particle Dev will not compile my project for the Photon (once I have selected it as the target)
- The error provided is lack-luster: only “
Compiler timed out or encountered an error” in red at the bottom of the Particle Dev window. Clicking this message shows “
There were no compile errors”, which is obviously untrue.
- Particle CLI will compile my project for the Photon, with no warnings or errors, and results in a fully functional
How can I troubleshoot this further? A different (much simpler) piece of code works in all circumstances, so it must be code-related.