Hello , I write my firmware for use on multiple devices (e.g. Arduino, teensy (am i allowed to mention those:smiling_imp:)).
I use compiler directives for replacing blocks of code that are not relevant to the particular development environment. is the a way I can check that this code is compiling in the particle compiler e.g.
#ifdef PARTICLE
//do some particle stuff
#else
// do some arduino stuff
#endif