Project

General

Profile

Setting up Eclipse for Arduino » History » Version 1

Joseph Foley, 2011-11-23 00:32
setting up Arduino

1 1 Joseph Foley
h1. Setting up Eclipse for Arduino
2
3
# Use the ArduinoTemplate in Libraries.  
4
# SVN copy the directory to your project and rename it
5
# Check out the new project
6
# Rename the project in the project explorer
7
# Check in the rename
8
9
Note, even with this template you will need to setup the AVRDUDE
10
programmer at least once
11
1. Right click on the project and select "Properties"
12
2. Expand the AVR section on the left
13
3. Click on "Target Hardware"
14
   	 a.  For the Arduino UNO, MCU type is ATmega328P
15
	 b. For the Arduino Mega 256, MCU type is ATmega2561
16
	 c. Both: The MCU Clock frequency is 16 000 000
17
4. Click on "AVRDude" on the left
18
5. Make sure "Programmer" tab is selected
19
6. In the "Programmer configuration" are
20
7. Click on New...  
21
   	 a. Configuration name: "Arduino UNO"
22
	 b. Description: "Arduino UNO on port PORT"  Put your
23
	 portname instead of PORT.  This is something like COM3 on
24
	 windows and /dev/ttyUSB0 on linux
25
	 c. Programmer Hardware (-c): choose Arduino
26
	 d. Override default port: choose the port that the Arduino is
27
	 attached to
28
	 e. Click on "OK"
29
8.  You may have to do this for multiple ports if the
30
Arduino keeps changing which one it uses
31
9.  Click on "Apply"