Thanks, Kenneth and Matthew. Following your suggestions, I git cloned the develop branch, cd’d to main, put the Photon in yellow blinking mode, then did a
make v=1 APP=tinker PLATFORM=photon all program-dfu
The flash appeared to succeed, but the Photon did not show the tinker commands with ‘particle list’ nor responded to tinker calls.
I can flash the ‘blink led’ code from the Web IDE and see the Photon blink D7. Downloading it from the Web IDE, I can also successfully flash it with
particle flash --usb blink.bin
and see the led blink.
But if I add the code to
firmware/user/applications/blink/blink.cpp
then do
make v=1 APP=blink PLATFORM=photon all program-dfu
It appears to flash correctly, but then doesn’t blink the LED.
I tried it with a second Photon. Same result.
Curious, no? Given that the Web IDE bin files work, whether flashed via the Web IDE or locally with ‘particle --usb’, it seems like a problem with the build chain bin/dfu files…