I’m getting the following error when I try to compile my code and have my particle photon selected as the target.
Error: Could not compile. Please review your code.
When I deselect the photon I get a successful compilation with the following information:
Output of arm-none-eabi-size:
text data bss dec hex
84720 1132 8868 94720 17200
In a nutshell:
Flash used 85852 / 110592 77.6 %
RAM used 10000 / 20480 48.8 %
A workaround for the issue that appears to work is flashing tinker on the photon prior to compilation. This works and I am able to flash the photon with my updates. Unfortunately after flashing I get the error again if I try to make further updates. It’s like the code is to big to load on the photon while there is a build present, but the tinker code is smaller and thus it is able to load the new build.
Is there a way to get the tinker code loaded remotely (not on the same wifi)? I tried loading a blank project from the web ide, but it still fails with this error.
BTW, after I load my code, it is up with the blue light and it works fine. No issues with any of the things I am trying to do with it. I just can’t update the code.
Thanks for the help!