Setting up Eclipse for AVR on Fedora

This is a quick tutorial to setup your Eclipse enviroment for AVR on Fedora Linux using the Atmel ICE. First begin by finding your Atmel ICE programmer.


you should get something like

Bus 001 Device 010: ID 03eb:2141 Atmel Corp. ICE debugger

next run

udevadm info /dev/bus/usb/001/010

you should see something like

E: ID_MODEL_ID=2141 and E: ID_VENDOR_ID=03eb

Create a new udev rule

vim /etc/udev/rules.d/80-atmelice.rules

and add

SUBSYSTEM=="usb", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2141", GROUP="dialout", MODE="666"

making sure that your user belongs to the dialout group

usermod -a -G dialout yourUserName

and reload udev

udevadm control --reload-rules

finally, check that your avr is recognized by executing

avrdude -c atmelice_isp -p atmega328

That's it 😃