繁体   English   中英

xcode和avr arduino“命令/Applications/Xcode.app/Contents/Developer/usr/bin/make失败,出现退出代码2”错误。

[英]xcode and avr arduino “Command /Applications/Xcode.app/Contents/Developer/usr/bin/make failed with exit code 2” error.

我是AVR编程的新手,我正在尝试让xcode与Arduino Mega2560一起使用。 我设法使它与embedxcode一起使用,但现在我正在尝试使用xavr项目方案进行更精简的方法。 由于某种原因,我无法将代码上传到arduino。 它给了我这个错误:

Command /Applications/Xcode.app/Contents/Developer/usr/bin/make failed with exit code 2

我得到的输出的最后一位是:

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9801
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: stk500v2_command(): command failed

avrdude done.  Thank you.

make: *** [program] Error 255
Command /Applications/Xcode.app/Contents/Developer/usr/bin/make failed with exit code 2

我已经将完整的输出上传到这里: http : //pastebin.com/y7Z5F5NP

我真的希望有人能帮助我弄清楚如何进行这项工作-这将对我开始使用arduino有很大帮助:)

提前致谢!

您是否修改了makefile? 如果这样做,则可以在规则的配方行上放置额外的空间。 食谱的第一个字符应该是一个制表符。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM