0

私は 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を始めるのに大きな助けになるでしょう:)

前もって感謝します!

4

1 に答える 1

0

メイクファイルを変更しましたか? その場合、ルールのレシピ行に余分なスペースを入れることができます。レシピの最初の文字はタブにする必要があります。

于 2015-04-01T03:04:10.087 に答える