What are the necessary filename extensions for P2 code?
Programming for the P1, I think I always used the extension of ".spin" for all my source code. A lot of the code files were actually PASM, with a little bit of Spin, as is common on both P1 and P2.
I would sort of like to continue this simple naming with P2 development, but most samples I see use the ".spin2" extension. Additionally, I have seen extensions like ".p2asm" and (perhaps?) ".pasm2". Are these real conventions for the source code, and/or necessary for the P2 compiler tools?
In an ideal world, simply using a compiler that supports PASM2/Spin2 ought to be all that is needed to compile such code. But, maybe, the tools are being designed to handle both P1 code and P2 code and it needs these extensions as clues to pick the right compiler internally?
If someone could elaborate on what the conventions are and why they exist, I'd be grateful for the clarity.