I cloned the firmware project from Github.
Then, I ran:
$ make PLATFORM=photon all
This worked fine judging from the logs.
Now, I am a bit lost how to flash the output via USB, e.g. with
$ particle flash --bin firmware.bin
Also, looking at the output of the build gave multiple .bin files:
pm:firmware pmu$ find . -name "*bin" ./bootloader/tools/locker-firmware.bin ./bootloader/tools/unlocker-firmware.bin ./build/bin ./build/target/bootloader/platform-6-lto/bootloader.bin ./build/target/user-part/platform-6-m/user-part.bin ./hal/src/photon/dct_prep.bin
Any hints how to proceed?