I am helping adapt a library to Tiva processors from Arduino.
I would like to use conditional compilation to separate the Tiva code from that for other processors. (e.g. Arduino Due)
Is there a standard macro I can check to see whether Energia is set up for a Tiva/Stellaris processor (vs. another architecture, like MSP430, etc.)
I was thinking something along the lines of __ARM__, or __TIVA__.
If not, it could be a handy addition.
For a temporary fix I am just checking for all the Tiva/Stellaris processors supported by Energia, but that means having to update the library if a n