Minimus Joypad: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 40: Line 40:


If I could ever afford a recent MacBook I'd just hire someone smart to do it for me :)
If I could ever afford a recent MacBook I'd just hire someone smart to do it for me :)
= Progress =
* I have a few minimus units to play with.
* flashy lights hex upload with FLIP on Windows XP - worked OK.
* WinAVR build of various test apps OK
* I was able to program these test apps fine using FLIP
* on my Debian laptop I had to install a more recent dfu-programmer package and I was able to use a simple makefile to build and program various test apps
* on XP at work I set up AVR Studio 4.19 (free download when registered) with the WinAVR gcc and make to build and debug various test apps

Revision as of 13:12, 17 May 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.

Setting up Eclipse on Mac

If I could ever afford a recent MacBook I'd just hire someone smart to do it for me :)

Progress

  • I have a few minimus units to play with.
  • flashy lights hex upload with FLIP on Windows XP - worked OK.
  • WinAVR build of various test apps OK
  • I was able to program these test apps fine using FLIP
  • on my Debian laptop I had to install a more recent dfu-programmer package and I was able to use a simple makefile to build and program various test apps
  • on XP at work I set up AVR Studio 4.19 (free download when registered) with the WinAVR gcc and make to build and debug various test apps