|
一个简单的P1口中断例程,编译时出现如下错误,请问这是我哪里设置的不对还是少了那个头文件,还是其他什么问题,求大神指教
Error[Pe020]: identifier "SCG0" is undefined E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 46
Error[Pe020]: identifier "uint16_t" is undefined E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 50
Error[Pe020]: identifier "UCSCTL0" is undefined E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 51
Error[Pe020]: identifier "UCSCTL1" is undefined E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 52
Error[Pe020]: identifier "DCORSEL_4" is undefined E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 52
Error[Pe020]: identifier "UCSCTL2" is undefined E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 54
Error[Pe020]: identifier "MSP430_CPU_SPEED" is undefined E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 54
Error[Pe020]: identifier "UCSCTL4" is undefined E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 55
Warning[Pe223]: function "__bic_SR_register" declared implicitly E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 58
Error[Pe020]: identifier "P1IE" is undefined E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 132
Error[Pe020]: identifier "P2IE" is undefined E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 133
Error[Pe020]: identifier "MSP430_REQUIRE_LPM1" is undefined E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 151
Error[Pe020]: identifier "MSP430_REQUIRE_LPM1" is undefined E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 159
Warning[Pe223]: function "dint" declared implicitly E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 167
Warning[Pe223]: function "eint" declared implicitly E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 172
Warning[Pe223]: function "__get_SR_register" declared implicitly E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 221
Warning[Pe223]: function "__bic_SR_register" declared implicitly E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 222
Error[Pe020]: identifier "GIE" is undefined E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 222
Warning[Ta031]: When defining __low_level_init the header file 'intrinsics.h' should E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 231
have been included
Error[Pe020]: identifier "WDTCTL" is undefined E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 234
Error[Pe020]: identifier "WDTPW" is undefined E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 234
Error[Pe020]: identifier "WDTHOLD" is undefined E:\msp430中断\新建文件夹\contiki-2.6\cpu\msp430\f5xxx\msp430.c 234
Error while running C/C++ compiler
wismote_simple_main.c
Warning[Pa050]: non-native end of line sequence detected (this diagnostic is only E:\msp430中断\新建文件夹\contiki-2.6\core\sys\autostart.h 1
issued once)
Warning[Pe223]: function "button_init" declared implicitly E:\msp430中断\新建文件夹\contiki-2.6\platform\wismote\wismote_simple_main.c 71
Total number of errors: 16
Total number of warnings: 10
|
|