Project

General

Profile

Actions

Setting up Eclipse for Arduino » History » Revision 1

Revision 1/3 | Next »
Joseph Foley, 2011-11-23 00:32
setting up Arduino


Setting up Eclipse for Arduino

  1. Use the ArduinoTemplate in Libraries.
  2. SVN copy the directory to your project and rename it
  3. Check out the new project
  4. Rename the project in the project explorer
  5. Check in the rename

Note, even with this template you will need to setup the AVRDUDE
programmer at least once
1. Right click on the project and select "Properties"
2. Expand the AVR section on the left
3. Click on "Target Hardware"
a. For the Arduino UNO, MCU type is ATmega328P
b. For the Arduino Mega 256, MCU type is ATmega2561
c. Both: The MCU Clock frequency is 16 000 000
4. Click on "AVRDude" on the left
5. Make sure "Programmer" tab is selected
6. In the "Programmer configuration" are
7. Click on New...
a. Configuration name: "Arduino UNO"
b. Description: "Arduino UNO on port PORT" Put your
portname instead of PORT. This is something like COM3 on
windows and /dev/ttyUSB0 on linux
c. Programmer Hardware (-c): choose Arduino
d. Override default port: choose the port that the Arduino is
attached to
e. Click on "OK"
8. You may have to do this for multiple ports if the
Arduino keeps changing which one it uses
9. Click on "Apply"

Updated by Joseph Foley about 13 years ago · 3 revisions