Compiling the Diolan PIC USB bootloader on OSX Lion

Neb posted instructions on how to compile the Diolan bootloader on OSX Lion. The instructions are also reposted below.
In case you are having trouble compiling the Diolan bootloader on OSX Lion, here is a homebrew formula that will make things a little easier for you (I hope!)
First, install homebrew if you haven’t already (btw homebrew is excellent and I highly recommend it as the way to install additional unix commands under OSX). Sry I can’t provide a link as this is my first post here and the anti-spam won’t left me (google homebrew).
Second, download the attached file and save as bootloader.rb.
Third open up terminal and use the following two commands:
> cp bootloader.rb /usr/local/Library/Formula/bootloader.rb # note there is a better way to do this using 'brew create' but the anti spam for this forum has stopped me using a URL! > brew install bootloader
This should automatically download the bootloader tar file from Diolan, then compile the fw_update and the encoder commands and install them ready for use.
Via the forum.
This entry was posted in code, how-to and tagged compiling, Diolan, sode, tutorial.

Comments
Be careful installing and using homebrew if you are using macports: they do not play well together.