Trying to compile code using CLI … i.e. “particle compile electron” …
- From CLI, I can compile the code successfully and then flash it to an Electron
- After reset, I get a “Breathing Magenta”
- If I flash the .bin file that I compiled on Monday, (identical code that I am working with today), all is happy
- F/W on Electron is 0.6.1
- From CLI, tried to update Electron using “particle update” … tries to update but when I check F/W rev, it is 0.6.1
==> with the release today of 0.6.2, could it be that the CLI is compiling for 0.6.2 but Electron F/W is 0.6.1?
==> Reason that I am asking: I have been using the “ceil” function in the code for the past few months and when I compile the code today, the compilation fails and I need to add … include “math.h” … (which should have always been there) … which hints to me the compiler used by the CLI interface has changed
Any course of action to follow to get everything working again?