MPLAB X编译出问题

2019-03-25 19:10发布

最近帮师兄搞机器人,控制器是PIC30f6014单片机,在机器人的官网上下载了个例程,但是编译的时候总是出错,我以前没有用过MPLAB X,不知道这是什么问题,源程序在附件里,求大神指导!
../../../e-puck/src/Epfl/e_init_uart1.s: Assembler messages:
../../../e-puck/src/Epfl/e_init_uart1.s:16: Error: can't open e_epuck_ports.inc for reading
../../../e-puck/src/Epfl/e_init_uart1.s:32: Error: Invalid operands specified ('bclr U1STA,#URXISEL1').
../../../e-puck/src/Epfl/e_init_uart1.s:32:        Check operand #2. Operand must be between 0 and 15, inclusive.
../../../e-puck/src/Epfl/e_init_uart1.s:33: Error: Invalid operands specified ('bclr U1STA,#URXISEL0').
../../../e-puck/src/Epfl/e_init_uart1.s:33:        Check operand #2. Operand must be between 0 and 15, inclusive.
../../../e-puck/src/Epfl/e_init_uart1.s:35: Error: Invalid operands specified ('bclr IFS0,#U1RXIF').
../../../e-puck/src/Epfl/e_init_uart1.s:35:        Check operand #2. Operand must be between 0 and 15, inclusive.
../../../e-puck/src/Epfl/e_init_uart1.s:36: Error: Invalid operands specified ('bset IEC0,#U1RXIE').
../../../e-puck/src/Epfl/e_init_uart1.s:36:        Check operand #2. Operand must be between 0 and 15, inclusive.
../../../e-puck/src/Epfl/e_init_uart1.s:37: Error: Invalid operands specified ('bset U1MODE,#UARTEN').
../../../e-puck/src/Epfl/e_init_uart1.s:37:        Check operand #2. Operand must be between 0 and 15, inclusive.
../../../e-puck/src/Epfl/e_init_uart1.s:41: Error: Invalid operands specified ('bclr IFS0,#U1TXIF').
../../../e-puck/src/Epfl/e_init_uart1.s:41:        Check operand #2. Operand must be between 0 and 15, inclusive.
../../../e-puck/src/Epfl/e_init_uart1.s:42: Error: Invalid operands specified ('bset IEC0,#U1TXIE').
../../../e-puck/src/Epfl/e_init_uart1.s:42:        Check operand #2. Operand must be between 0 and 15, inclusive.
../../../e-puck/src/Epfl/e_init_uart1.s:54: Error: Invalid operands specified ('bset U1STA,#UTXISEL').
../../../e-puck/src/Epfl/e_init_uart1.s:54:        Check operand #2. Operand must be between 0 and 15, inclusive.
../../../e-puck/src/Epfl/e_init_uart1.s:55: Error: Invalid operands specified ('bset U1STA,#UTXEN').
../../../e-puck/src/Epfl/e_init_uart1.s:55:        Check operand #2. Operand must be between 0 and 15, inclusive.

此帖出自小平头技术问答
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。