We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi. What is compiler-specific predefined macro in order to uniquely identify all Keil ARM uVision compilers?I.e. how to check platform:#if defined( ??? ) .....#endif
From the list of predefined macros __ARMCC_VERSION would be the most likely candidate:
__ARMCC_VERSION
https://developer.arm.com/documentation/102284/6-16LTS/armclang-Reference/Other-Compiler-specific-Features/Predefined-macros
https://www.keil.com/support/man/docs/armcc/armcc_chr1359125007083.htm