我正在使用 MSP-EXP430F5438 板,并试图通过 IAR 使用源代码(contiki 2.6)在其上移植 contiki。
我收到以下错误-
Error[Pe020]: identifier "CC2520_IRQ_VECTOR" is undefined E:\PS-1\contiki-2.6\cpu\msp430\cc2520-arch.c 50
Error[Pe661]: expected an integer constant E:\PS-1\contiki-2.6\cpu\msp430\cc2520-arch.c 50
Error[Pe020]: identifier "DIR" is undefined E:\PS-1\contiki-2.6\cpu\msp430\cc2520-arch.c 67
Error[Pe020]: identifier "CC2520_CSN_PIN" is undefined E:\PS-1\contiki-2.6\cpu\msp430\cc2520-arch.c 67
Error[Pe137]: expression must be a modifiable lvalue E:\PS-1\contiki-2.6\cpu\msp430\cc2520-arch.c 67
Error[Pe020]: identifier "CC2520_VREG_PIN" is undefined E:\PS-1\contiki-2.6\cpu\msp430\cc2520-arch.c 68
Error[Pe137]: expression must be a modifiable lvalue E:\PS-1\contiki-2.6\cpu\msp430\cc2520-arch.c 68
Error[Pe020]: identifier "CC2520_RESET_PIN" is undefined E:\PS-1\contiki-2.6\cpu\msp430\cc2520-arch.c 69
Error[Pe137]: expression must be a modifiable lvalue E:\PS-1\contiki-2.6\cpu\msp430\cc2520-arch.c 69
Error[Pe020]: identifier "CC2520_FIFOP_PIN" is undefined E:\PS-1\contiki-2.6\cpu\msp430\cc2520-arch.c 71
Error[Pe137]: expression must be a modifiable lvalue E:\PS-1\contiki-2.6\cpu\msp430\cc2520-arch.c 71
Error[Pe020]: identifier "CC2520_FIFO_PIN" is undefined E:\PS-1\contiki-2.6\cpu\msp430\cc2520-arch.c 72
Error[Pe137]: expression must be a modifiable lvalue E:\PS-1\contiki-2.6\cpu\msp430\cc2520-arch.c 72
Error[Pe020]: identifier "CC2520_CCA_PIN" is undefined E:\PS-1\contiki-2.6\cpu\msp430\cc2520-arch.c 73
Error[Pe137]: expression must be a modifiable lvalue E:\PS-1\contiki-2.6\cpu\msp430\cc2520-arch.c 73
Error[Pe020]: identifier "CC2520_SFD_PIN" is undefined E:\PS-1\contiki-2.6\cpu\msp430\cc2520-arch.c 74
Error[Pe137]: expression must be a modifiable lvalue E:\PS-1\contiki-2.6\cpu\msp430\cc2520-arch.c 74
Error while running C/C++ Compiler
Error[Pe020]: identifier "CC2520_FIFOP_IS_1" is undefined E:\PS-1\contiki-2.6\core\dev\cc2520.c 201
Fatal Error[Pe035]: #error directive: CC2520_CONF_SYMBOL_LOOP_COUNT needs to be set!!! E:\PS-1\contiki-2.6\core\dev\cc2520.c 361
Error while running C/C++ Compiler
您认为源代码中可能缺少头文件吗?
问候