JavaScriptがオンになっていないとご利用できません。

lepton

Lepton2

trino

Trino

titan

TITAN

atom

atom

arki

Arki

Marlinのコンパイル時にエラーが出てしまう

Posted by yas914
Posted Jun 16, 2014 - 1:10 PM 

はじめまして。

こちらの3Dプリンターを数か月前に購入し、先日ようやく制御基板にMarlinを書き込もうとしたところ、
コンパイル時にエラーが出てしまい書き込みが行えませんでした。

Arduinoは1.0.4を使用していて、制御基板はmomoinololu、マイコンボードはSanguino W/ ATmega1284p 16mhzを選択しています。

こういったことには不慣れでして、どうやったらこの問題が解消できるか、
ご存知の方がいらっしゃいましたら是非ともご教授いただけないでしょうか。
よろしくお願いします。

必須
 確認してチェック
3 reply
View 3397
Posted by yas914
Posted Jun 17, 2014 - 1:25 AM

>Chimura Hirokiさん
返信が遅くなってしまい申し訳ありません。
ご回答ありがとうございます。
ネットからダウンロードしたSanguinoをhardwareの該当するフォルダに入れ、
シリアルポートも選択していたはずなのですができませんでした...

元から制御ボードに入っているのですか^^;
それなら書き込む工程を飛ばして次の工程に進んでみます。
本当にありがとうございました。

Posted by Chimura Hiroki
Posted Jun 16, 2014 - 5:19 PM

こんにちは。
おそらくhardwareの中にSanguinoを入れてあげてないからだと思われます。
かシリアルポートの選択をしていないかですかね。
実は制御ボードには既にファームウェアを入れてあるので、そのまま入れずにお使いになれます。

Posted by yas914
Posted Jun 16, 2014 - 1:11 PM

その時に出たエラー文は、下記のようなものでした。

\arduino-1.0.4-windows\arduino-1.0.4\hardware\arduino\cores\arduino/pins_arduino.h:42: error: conflicting declaration 'const uint8_t port_to_mode_PGM []'
\arduino-1.0.4-windows\arduino-1.0.4\hardware\arduino\cores\arduino/Arduino.h:127: error: 'port_to_mode_PGM' has a previous declaration as 'const uint16_t port_to_mode_PGM []'
\arduino-1.0.4-windows\arduino-1.0.4\hardware\arduino\cores\arduino/pins_arduino.h:43: error: conflicting declaration 'const uint8_t port_to_input_PGM []'
\arduino-1.0.4-windows\arduino-1.0.4\hardware\arduino\cores\arduino/Arduino.h:128: error: 'port_to_input_PGM' has a previous declaration as 'const uint16_t port_to_input_PGM []'
\arduino-1.0.4-windows\arduino-1.0.4\hardware\arduino\cores\arduino/pins_arduino.h:44: error: conflicting declaration 'const uint8_t port_to_output_PGM []'
\arduino-1.0.4-windows\arduino-1.0.4\hardware\arduino\cores\arduino/Arduino.h:129: error: 'port_to_output_PGM' has a previous declaration as 'const uint16_t port_to_output_PGM []'

どうかよろしくお願いします。

3 reply
View 3397

東京都港区東麻布1-4-2 THE WORKERS&CO 401

facebook/genkei.japan

@Genkei1