• LOG IN
  • REGISTER
  • ISSUES

Make, Hack, Void

  • home
  • projects
  • news
  • community
Home

MHV AVR Tools - A WinAVR Replacement

deece — Sat, 05/11/2011 - 8:55am

We have built our own set of tools in a WinAVR-like layout suitable for use as a replacement. Please note that no guarantees as to fitness or suitability are being made. In particular,GCC 4.6.x has not been tested as extensively as GCC 4.4.x, so use our builds at your own risk.

For those building with AVR-Eclipse, a patch that teaches it about the new environment is available on the AVR Eclipse feature request tracker. To make life easier, I have a replacement jar available. Just copy it to eclipse/plugins after installing AVR-Eclipse.

Installing the Binary Package

Download and run the installer (.exe on windows, or .runme on linux & osx) from the bottom of this page.

Installing from Source

Windows Dependancies

Install the MinGW development environment

  • Download and install mingw-get-inst from http://sourceforge.net/projects/mingw/files/, select all developer options
  • Install the following components
    • mingw-get install msys-wget

    • mingw-get install msys-unzip

Install Git

  • Download and install Git for Windows

Linux Dependancies

You will need to install the following utilities on your Linux installation in order to compile MHV AVR Tools

  • gcc
  • g++ (gcc-c++)
  • git
  • patch
  • wget
  • bison
  • flex
  • texinfo
  • zip/unzip

Build & Install MHV AVR Tools

  • Clone the MHV AVR Tools git repository:

    git clone http://git.makehackvoid.com/mhvavrtools.git

  • Within your MinGW environment...
    • cd to the mhvavrtools directory
    • run fetch.sh to download the required sources
    • run build.sh to compile the components
    • run build-archive.sh to package the distributable (unix only)

Todo

  • Support xmega microcontrollers
  • Include MHVlib
  • Add fixed-point support

Source Browser

You can view the changelog and source code online in our git repository.

 

Downloads

  • View all releasesRSS feed of all releases

Development

  • View pending patches

  • Login or register to post comments
  • Printer-friendly version

Usage with AVR Studio

Mark 83 — Sat, 14/04/2012 - 6:11am

Is it possible to use this toolchain as a drop-in replacement for the AVR GNU Toolchain which I currently use with AVR Studio 4 ? Are there any config files in AVR Studio that can be adapted to force it to use this toolchain?

  • Login or register to post comments

Not sure

deece — Thu, 26/04/2012 - 7:58am

Hi Mark,

Sorry, I haven't tried this myself. In principle, it should be possible so I suggest you give it a try, and let us know how you went.

  • Login or register to post comments

Forgot to reply. While I

Mark 83 — Tue, 01/05/2012 - 1:05am

Forgot to reply. While I couldn't find a solution to direct integration of this toolchain with AVR Studio 4.19 (build 730), there is always a project specific workaround. In the configuration options for your project, AVR Studio asks for the location of the AVR-GCC exceutable and the make executable. If you make it point to MHV-AVR toolchain executables, it works out of the box. Only issue is that you have to set this configuration everytime you start a new project. Either way, great job (and ty) for this toolchain.

  • Login or register to post comments

Search

Recent Comments

#1
1 day 14 hours ago
#1
1 day 14 hours ago
more

Member Tweets

MakeHackVoid
13 hours 31 min ago — Space is closed (was open 6 hours)
MakeHackVoid
19 hours 58 min ago — Space is open until 22:00 (estimate)
MakeHackVoid
1 day 10 hours ago — Space is closed (was open 11 hours)
MakeHackVoid
1 day 22 hours ago — Space is open until 23:00 (estimate)
MakeHackVoid
2 days 13 hours ago — Space is closed (was open 9 hours)
MakeHackVoid
2 days 19 hours ago — Space staying open until 22:45 (estimate)
MakeHackVoid
2 days 22 hours ago — Space is open until 17:30 (estimate)
MakeHackVoid
2 days 22 hours ago — Space is closed (was open 117 minutes)
projectgus
3 days 41 min ago — Back at @MakeHackVoid today to do some more 3d printing. I don't have a problem, I can quit any time I want to.
MakeHackVoid
3 days 47 min ago — Space is open until 13:45 (estimate)
  •  
  • 1 of 7
  • ››
more