Microchip
直播中

刘畅

8年用户 200经验值
私信 关注
[问答]

MPLAB-X 5.0从Atmelstudio输入的XMEGA项目失败

当编译一个导入的avrStudio7.0项目时,我得到这个错误消息:bin /ase.ex-MMCu= avrxMeGA2-MnOk-Skip bug -DySyMm=MyPaBuBug=1 -Mudi/Debug /Proto/OutEx/NeX/NVMyASM .O.D-O构建/调试/生产/OXEX//NVMyASM.O./SRC/ASF/XMEGA/驱动程序/NVM/NVMyASM.S.NBProj/MaMFIle Debug .MK:106:目标“构建/调试/生产/ 900759350 / CCP.O”失败的方法。/SRC/ASF/XMEGA/驱动程序/CPU/CCP.S:汇编消息:./SRC/ASF/XMEGA/驱动程序/CPU/CCP.S:45:错误:在结束时,第一个未被识别的字符是“//…/SRC/ASF/XMEGA/驱动程序/CPU/CCP.S:58:错误:unkNO。WON操作码“Puffic Apple Fun”/SRC/ASF/XMEGA/驱动程序/CPU/CCP.S:62:错误:结束时的垃圾。/SRC/ASF/XMEGA/驱动程序/CPU/CCP.S:63:错误:在线结束时的垃圾。/SRC/ASF/XMEGA/驱动程序/CPU/CCP.S:64:错误:不好的表达式…/SRC/ASF/XMEGA/驱动程序/CPU/CCP.S:64:错误:在线结束时的垃圾………我想问题是,“中国共产党”应该由海湾合作委员会进行预处理吗?有人知道解决方案吗?
                    
                    
以上来自于百度翻译

               
                                                                                      以下为原文

                                                                            when compiling an imported AVRSTUDIO7.0 Project, i get this error message:

bin/as.exe -mmcu=avrxmega2 -mno-skip-bug --defsym=__MPLAB_BUILD=1 -MD=build/Debug/production/_ext/900748601/nvm_asm.o.d -o build/Debug/production/_ext/900748601/nvm_asm.o ../src/ASF/xmega/drivers/nvm/nvm_asm.s
nbproject/Makefile-Debug.mk:106: recipe for target 'build/Debug/production/_ext/900759350/ccp.o' failed

../src/ASF/xmega/drivers/cpu/ccp.s: Assembler messages:
../src/ASF/xmega/drivers/cpu/ccp.s:45: Error: junk at end of line, first unrecognized character is `/'
../src/ASF/xmega/drivers/cpu/ccp.s:58: Error: unknown opcode `public_fun'
../src/ASF/xmega/drivers/cpu/ccp.s:62: Error: garbage at end of line
../src/ASF/xmega/drivers/cpu/ccp.s:63: Error: garbage at end of line
../src/ASF/xmega/drivers/cpu/ccp.s:64: Error: bad expression
../src/ASF/xmega/drivers/cpu/ccp.s:64: Error: garbage at end of line
..........
  

I think the problem is, that "ccp.S" should be preprocessed by gcc ? Does anyone know a solution ?

回帖(1)

陈杰

2018-8-29 16:40:30
也许这是相关的(.s vs .s文件范围)HTTPS://StaskOfFult.COM/A/780511/247243
                    
                    
以上来自于百度翻译

               
                                                                                      以下为原文

                                                                            Maybe this is relevant (.S vs .s file extent ) https://stackoverflow.com/a/7190511/2475243 
举报

更多回帖

发帖
×
20
完善资料,
赚取积分