We’ve got CircleCI hooked up, and am able to successfully compile from our github repo. Great. HOWEVER, the firmware thats pushed to the device stops the device from executing. It’s still online. I can ping it. However no messages are raised as they would be, and no functions are registered and thus callable.
If I compile exactly the same version of code from Particle Dev, it works fine.
My question is: how do I look into exactly what is being executed by the Particle Dev environment? If I can mirror this, then I should be good, no?
Interestingly, if I pull down the code from my repo to a fresh folder on my laptop, then run exactly the same compile command, it cannot compile.
particle compile -v electron --target 1.4.2 --saveTo artifacts/firmware.bin zef-ev-comms-firmware/src zef-ev-comms-firmware/lib/*/src
make: *** […/build/target/user/platform-10-mzef-ev-comms-firmware.o] Error 1
make: Leaving directory ‘/firmware/user’
…/…/…/build/recurse.mk:11: recipe for target ‘user’ failed
make: *** [user] Error 2
make: Leaving directory ‘/firmware/modules/electron/user-part’
…/build/recurse.mk:11: recipe for target ‘modules/electron/user-part’ failed
make: *** [modules/electron/user-part] Error 2
Compile failed: Compiler encountered an error
VError: Compile failed: Compiler encountered an error