I am working on STM32l151rct6a by stm, I have stumbled upon these MACRO definitions
__CC_ARM, __ICCARM__, __GNUC__, __TASKING__
Does anyone kno
They are macros for identifying the compiler being used to build the code.
A list of such macros, and others for identifying architecture and OS etc. can be found at http://sourceforge.net/p/predef/wiki/Home/. It does not however comprehensively cover many compilers from smaller embedded systems vendors (Tasking and Imagecraft for example).