I have now get the compile up and running with out any problem with the latest branch of Photon
When I upload the compiled (default tinker) *.bin file with dfu both direct from compile or later everything works great.
Problem is when it comes to the *.elf file. I get the STLinkV2 to download it and Photon boot up correct.
But STLink don't stop at the first breakpoint I set at setup() and then Particle Android app says that the unit is online but not with the tinker app. If I leave the debugger connected to the target and choose to flash it from the Android app with the tinker code then after the reboot after flash debugger halt at the breakpoint and I could do stepping.
I have checked the user-part.map and .module_start 0x080a0000 it seems right. Bootloader works correct so it looks like the debugger flash the right address area.
Any ideas anyone ?