在线时间0 小时
UID334891
ST金币0
蝴蝶豆0
注册时间2007-7-25
新手上路
- 最后登录
- 1970-1-1
|
a0a.1 0b0c
请问,编译后出现下面错误是怎么回事.我看头文件里面都已经定义了啊
Building configuration: LCD - Release
Updating build tree...
stm8s_adc2.c
Error[Pe020]: identifier "ADC2" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 50
Error[Pe020]: identifier "ADC2_CSR_RESET_VALUE" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 50
Error[Pe020]: identifier "ADC2_CR1_RESET_VALUE" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 51
Error[Pe020]: identifier "ADC2_CR2_RESET_VALUE" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 52
Error[Pe020]: identifier "ADC2_TDRH_RESET_VALUE" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 53
Error[Pe020]: identifier "ADC2_TDRL_RESET_VALUE" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 54
Error[Pe020]: identifier "ADC2" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 108
Error[Pe020]: identifier "ADC2_CR1_ADON" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 108
Error[Pe020]: identifier "ADC2" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 126
Error[Pe020]: identifier "ADC2_CR1_ADON" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 126
Error[Pe020]: identifier "ADC2" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 130
Error[Pe020]: identifier "ADC2_CR1_ADON" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 130
Error[Pe020]: identifier "ADC2" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 149
Error[Pe020]: identifier "ADC2_CSR_EOCIE" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 149
Error[Pe020]: identifier "ADC2" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 154
Error[Pe020]: identifier "ADC2_CSR_EOCIE" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 154
Error[Pe020]: identifier "ADC2" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 172
Error[Pe020]: identifier "ADC2_CR1_SPSEL" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 172
Error[Pe020]: identifier "ADC2" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 198
Error[Pe020]: identifier "ADC2" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 203
Error[Pe020]: identifier "ADC2" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 211
Error[Pe020]: identifier "ADC2" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 215
Error[Pe020]: identifier "ADC2" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 222
Error[Pe020]: identifier "ADC2" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 226
Error[Pe020]: identifier "ADC2" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 251
Error[Pe020]: identifier "ADC2_CR2_ALIGN" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 251
Error[Pe020]: identifier "ADC2_CR1_CONT" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 258
Error[Pe020]: identifier "ADC2_CR1_CONT" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 263
Error[Pe020]: identifier "ADC2_CSR_CH" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 267
Error[Pe020]: identifier "ADC2" is undefined C:\Documents and Settings\zjq\桌面\LCD\src\stm8s_adc2.c 292
......
Error while running C/C++ Compiler
Total number of errors: 333
Total number of warnings: 0
|
|