Energy Micro IEC60355 Library Example Project 1.0 (internal use only!) GCC-Version
Example project demonstrating POST and BIST library functions

config.h

Go to the documentation of this file.
00001 /***************************************************************************/
00029 #ifndef _CONFIG_H_
00030 #define _CONFIG_H_
00031 
00036 #ifndef DEBUG
00037 //#define DEBUG                 /*!< should be set by the compiler settings */
00038 #endif
00039 
00040 // ----------------------
00042 #define USE_SEMIHOSTING     0   
00043 #define USE_CMSIS_NVIC      1   
00044 #define DEBUG_WARNING       0   
00045 #define DEBUG_IDLE_TIME     1   
00048 #define STACKSIZE             (2*1024)     /* GCC only */
00049 #define PRIVILEGED_VAR        __attribute__ ((section (".data.privileged")))
00050 // ----------------------
00051 #define REVISION              SVN_REVISION_NUMBER
00052 #define LIB_REVISION          LIB_REVISION_NUMBER
00053 
00054 
00055 #if (bad_configuration == 1)
00056 #if defined ( __CC_ARM   )
00057     #pragma diag_remark 2
00058 #else
00059 #pragma message(":error: bad configuration in config.h")
00060 #endif
00061 #endif
00062 
00067 #endif /* _CONFIG_H_ */
00068 
00069 /************************************** EOF *********************************/