The steps described here are meant to directly mimic the steps its takes to get the "suite" of development software installed on the machines in the MOCC. If you use this, you should end up with an AVR Specific version of Eclipse running on your winows (or Linux) machine. Eclipse can help you keep projects organized. It can help you generate correct code for building basic class structures in a variety of languages. You will also have packages which enable you to download code from the repositories at Space Grant onto your home machine. You will be able to edit a local copy of this code and then merge your working copy of code back into the Space Grant repositories. You will be able to track bugs, and review (as well as have your code reviewed by) your peers.
1. Install AVR32 Studio ( site: http://www.atmel.com )
2. For the test setup used at COSGC it is assumed you have MSVC++ Express version compiler installed. (http://www.microsoft.com/express/vc/Default.aspx#webInstall)
**You can get the full version at www.dreamspark.com if you register. (You can also use Cygwin as your compiler, if you really want to.)
3. If you don't have one installed (ie. are a Windows user who hasn't programmed on this machine before) you may want to install a g++ compiler. ( suggestion: http://www.cygwin.com)
**This will allow you to build and compile code that you are not running tests for. It isn't necessary to make these tools work. But Cygwin does have some cool components you might want to check out!
a. Make sure to run the Setup.exe when Cygwin is done downloading. You need to make sure the gcc-g++ compiler options, and the Mingw g++ compiler are selected in the “Packages” menu of the setup function.
b. Install GDB
4. Install AVR32 Studio Toolchain ( site: http://www.atmel.com)
4.5 Add "C:\python26;C:\Program Files\Microsoft Visual Studio 9.0\VC;" to Path Variable.
5. Open AVR32 Studio -- Check for errors at start-up. If you see errors at start up, it is likely because you have failed to install your g++ compiler or the toolchain correctly
6. When you have resolved any errors, try writing a hello world program. See that you can build/compile and run it in Debug Mode.
a. Go to help, “Install Software Updates” -> Manage Sites -> make sure the box next to http://download.eclipse.org/releases/ganymede is selected
7. In the same window click on Add Site and type http://subclipse.tigris.org/update_1.6.x into the window that appears
8. Now this site will appear on the site available for software download list, expand the tab.
a. You will see 6 expansions under this tab, select the bottom choice of “Subclipse” , “Optional JNA Library”, and “Core SVN Kit Library”, we don’t know why there are duplicates, but this works.
9. Click Install in the upper right hand corner
10. When installation has finished click next, accept the terms of agreement, installation will continue after this
11. It is strongly recommended that you restart AVR32 Studio now.
a. To test if subclipse is working:
i. Go to “Perspective” tab, it is in the upper right hand corner of the greater Eclipse screen -> click on other -> select “SVN Repository Exploring”
ii. Right click on the Explorer window that appears and select “New”, type in the URL of a repository, to test https://phobos.colorado.edu/svn/dande will work
iii. Type in your user name and password, when it is requested, and if all goes well you should see and database icon followed by the URL of the repository you used to test.