I’m currently building a product based on the P1 module. While I wait for final layout and assembly of my prototypes I wanted to continue my firmware dev on a P1 development board so I purchased a Redboard from Sparkfun. In building firmware I assumed I should use the
PLATFORM=P1 argument but when I do that I get errors trying to flash the resulting binary over DFU that says:
Error writing firmware...Incorrect platform id (expected 8, parsed 6), use --force to override
I also realized the dev board is called the Photon Redboard. Why wouldn’t I program this as a P1 and is Photon really the target I should choose? If so, when would I ever use the
P1 target option?