我正在使用MSP-EXP430F5438開發板,並嘗試通過IAR使用源代碼(contiki 2.6)在其上移植contiki。使用IAR在MSP430上移植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
你覺得一個頭文件可能會在源代碼中會丟失?
問候
如果將更多文件添加到IAR工作空間錯誤[e46]顯示 – Pratyush