Here are the steps required to get ready to develop C++ programs for the Game Pack in a Windows environment.
Download and install the following 3 components:
1. Eclipse for C/C++
This IDE is a good choice because of the AVR plugin available for Eclipse. This simplifies the compilation and uploading of AVR targeted code.
a. Download it from http://www.eclipse.org/downloads/
b. Unzip the folder (no installation required)
2. WinAVR
This is a set of development tools to produce and upload programs to AVR micro controllers on the Windows platform.
3. AVR plugin for Eclipse
This is a plugin to integrate the AVR development tools into the Eclipse IDE
a. Open Eclipse and go to 'Help' → 'Install new software'
b. 'Add' a new repository:
name: avr plugin
location:
http://avr-eclipse.sourceforge.net/updatesite
c. Select 'AVR Eclipse Plugin' and follow through the screens to complete the installation.
d. Restart Eclipse
We are now ready to
create some AVR based projects in Eclipse that can run on the Arduino and TouchShield.
No comments:
Post a Comment