Minimus Joypad: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
Line 20: Line 20:


== Setting up Eclipse on Linux ==
== Setting up Eclipse on Linux ==
Largely the same as on Windows - not too surprising really since Eclipse is nicely platform neutral. There are certain GCC AVR packages required but they're well explained and a doddle to set up.


== Setting up Eclipse on Windows ==
== Setting up Eclipse on Windows ==

Revision as of 10:33, 13 April 2012

Minimus USB AVR for use in a simple HID Joypad


LUFA HID Joypad

An exercise in moving on from the Arduino: -

  • use of a more flexible IDE: Eclipse CDT (C/C++ development tools)
  • cross-platform development: -
    • on windows boxes using WinAVR
    • on Linux boxes using avr-gcc

Setting up Eclipse on Linux

Largely the same as on Windows - not too surprising really since Eclipse is nicely platform neutral. There are certain GCC AVR packages required but they're well explained and a doddle to set up.

Setting up Eclipse on Windows

Eclipse CDT (C/C++ development tools)

The AVR Eclipse Plugin: http://avr-eclipse.sourceforge.net/wiki/index.php/The_AVR_Eclipse_Plugin

http://avr-eclipse.sourceforge.net/user%20manual/concepts/toolchain.html

Alternatively for Arduino only development, there are efforts to create an Arduino Eclipse plugin that does a lot of the annoying manual setup for you and may be quicker to get going initialy (since it just points to all the tools and settings under your Arduino installation)

TODO: I should write a specific wiki page on this subject.