Can you try this
make clean all PLATFORM=photon PARTICLE_DEVELOP=1
// or
make clean all PLATFORM_ID=6 PARTICLE_DEVELOP=1
Have a look at the last paragraph
https://github.com/spark/firmware/blob/develop/docs/build.md
Can you try this
make clean all PLATFORM=photon PARTICLE_DEVELOP=1
// or
make clean all PLATFORM_ID=6 PARTICLE_DEVELOP=1
Have a look at the last paragraph
https://github.com/spark/firmware/blob/develop/docs/build.md