![](/img/trans.png)
[英]Error: Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
[英]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.