git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6107 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2013-08-09 07:32:12 +00:00
parent 4b363412c9
commit cb453a3a12
1 changed files with 12 additions and 1 deletions

View File

@ -43,9 +43,20 @@
#define CH_ARCHITECTURE_ARM
/**
* @brief Name of the compiler supported by this port.
* @brief Compiler name and version.
*/
#if defined(__GNUC__) || defined(__DOXYGEN__)
#define CH_COMPILER_NAME "GCC " __VERSION__
#elif defined(__ICCARM__)
#define CH_COMPILER_NAME "IAR"
#elif defined(__CC_ARM)
#define CH_COMPILER_NAME "RVCT"
#else
#error "unsupported compiler"
#endif
/** @} */
/**