I am attempting to set up a completely offline build process to deal with a network firewall and slow network issues at a work site. I installed all per the “offline” section of this instruction:
It works well with tinker. But with another application it is obvious that the .bin file is wrong (too small) compared to running “particle…” and the program does not work after loading though it resets and breathes ok.
I set things up by adding the same (as when running particle) set of code to a new folder in ./user/applications. I changed the name of the .ino file to application.cpp. I’ve even copied that application.cpp into /user/src.
In administrator cmd.exe:
make all program-dfu PLATFORM=photon APP=myCode
I’ve done make clean etc numerous times and as I said, tinker repeatedly compiles, installs, and works properly whenever I try it. I’ve rebooted, tried non-administrator…
I’m at wits end. Is there something obvious I’m doing wrong? To go deeper I could provide the verbose output of “make tinker” vs “make myCode.” I don’t see any clues in that. Or anything else needed. Thanks for looking.