论坛元老
 
- 积分
- 3718
- 金钱
- 3718
- 注册时间
- 2011-5-23
- 在线时间
- 2012 小时
|
发表于 2017-10-24 09:55:53
|
显示全部楼层
help里面有示例
Keil EC++ Compiler
Preprocessor Symbols
Define sets preprocessor symbols, which can be checked with #if, #ifdef and #ifndef. The defined names are case-sensitive. Optionally, each name can have a value. Define: Check, NoExtRam, X1=1+5 is identical to the following C preprocessor #define statements:
#define Check
#define NoExtRam
#define X1 1+5
Undefine clears previous Define assignments that are entered in the options dialog of a higher Target or Group level.
|
|