I'm having issues getting the photon firmware to compile. It's worked in the past but it's been a few months since I last tried. Compiling from the module folder never finishes (I let it run all last night).
It seems to lock up the first time it runs the ARM GCC Archiver:
If you want to build the develop branch you’d need to write this
make clean all PLATFORM=photon PARTICLE_DEVELOP=1 program-dfu
The thing with develop is that it’s not guarantied to fully work at any given time. By setting the above switch you acknowledge to be aware of this.
Maybe you do another git pull and retry, or if you don’t need develop try git checkout latest which is guarantied to work.
@ScruffR, Thanks for the advice on using latest. It builds without a problem, didn’t even think about trying that.
I also have PARTICLE_DEVELOP as an environment variable but tried running the full command just to make sure it was pulling it in. Develop branch still doesn’t build. Don’t know why it doesn’t throw an error and just hangs.
You beat me to it! I was going to suggest that change - it’s there to support ARM GCC 5.2.1. I’ll double check with the developer to find out why the change was needed and if we can find an alternative solution that doesn’t use gcc-ar.