Figure 10
Figure 12
Figure 13
Figure 11
download progress window like the one
shown in Figure 9. Now, you are home
free! Wait for the software to be
downloaded and installed; when a screen
comes up that tells you that you should
restart Eclipse, do so — it won’t take long.
Galileo is very fast; it’ll be right back.
When you start Eclipse up, you’ll get a
window that asks where you want the
workspace directory installed. I always take
the default; it seems reasonable to me. You
are now ready to try your first AVR
program. Here are the steps for using the
AVR plugin to set up a new AVR program.
• Select File-New-C Project (Figure 10).
• Give your project a name; in the left side
window select AVR Cross Target
Application and under that, Empty
Project. In the right pane, you’ll see
AVR-GCC Toolchain. Hit Next > (Figure 11).
• Select if you want both a Debug and
Release build option. I only use the
Release option because I’ve yet to put
the effort into getting GDB and AVaRice
debuggers to work in the Eclipse
environment. If you have done this,
please let me know how because not
only would I love to know, I’m sure
many readers would too. For now, hit
Next > again (Figure 12).
• Select your microcontroller. Figure 13
shows the ATMEGA168; I’ll be doing a
demo LED blinker for the ATMEGA328p,
so you might want to select that instead.
SERVO 04.2010 17