Arduino/Arduino + Eclipse Plug-In

Program Arduino with Eclipse

ElectricShock 2016. 1. 26. 16:32


ProgramArduinowithEclipse.pdf

요악하자만 아래와 같다. (왠만하면 원문을 읽는게 좋다.)

1.C/C++버젼을 웹사이트에서 받는다.

혹은 업데이트한다. Help>>Install New Software 로 가서.

Software site를 세팅한다. http://download.eclipse.org/tools/cdt/releases/indigo 

끝에 indigo는 원하는 Eclipse버젼으로 바꿔도 된다.

2.설치해라 Arduino Eclipse Plug-In을 http://www.baeyens.it/eclipse/update site/

만약 설치중에 애러가 발생했다면 uncategorized arduino plugin을 시도해봐라.

3.일단 플러그인을 설치하고, 재시작한다. 그리고 Window>>Preferences>>Arduino로 간다.



4.Arduino IDE path 와 Private Library path를 지정해준다.

5.Eclipse가 *.ino와 *.pde 파일을 인식하게끔 하기위해.

우린 말해야한다. Eclipse에게 to 처리하라고 그것들(*.ino, *.pde) C++파일들로써.

Window>>Preferences>>C/C++>>File Types,

그리고 눌러라.

New...

추가해라. as 패턴 *.ino로써.

그리고 선택해라. as Type C++ 소스파일로써.

반복해라 똑같이 for *.pde에도.




>>

How to create a New Sketch with Eclipse

1. File >> New >> Project and select Arduino >> New Arduino sketch.


프로젝트 이름 정해주고 Next


2. At the configuration Dialog set the Board and Port to your requirements

보드이름 & 포트를 세팅한다.

3. 일단 Finish를 누르면, Eclipse는 2개의 프로젝트 폴더들을 생성한다.

하나는 방금 정의한 프로젝트 폴더이고, 다른하나는 Arduino Library를 위한 폴더이다.

4. 만약 Board와 Port를 바꾸고 싶다면,

Project>>Properties>>Arduino>>Arduino.

5.


>>

How to set up Eclipse to compile with ino