Project:MSP430 Mac Howto: Difference between revisions

From London Hackspace Wiki
m (Created page with "This page documents Flux's attempt to get the TI LaunchPad working on a MacBook Air running Mac OS X Lion 10.7.2. == USB Driver == * Downloaded binary from http://...")
 
No edit summary
Line 5: Line 5:
* Installed as per included instructions
* Installed as per included instructions


== Toolchain Prerequisites ==
== Building Toolchain ==
* Requires Xcode to be installed (for GCC et al)
Make sure you have Xcode installed (for GCC et al)


Download the toolchain and bunutils:  
Download the toolchain and bunutils:  
  $ git clone git://mspgcc4.git.sourceforge.net/gitroot/mspgcc4/mspgcc4
  $ git clone git://mspgcc4.git.sourceforge.net/gitroot/mspgcc4/mspgcc4
$ cd mspgcc4
 
$ curl -O http://ftp.uni-kl.de/pub/gnu/binutils/binutils-2.21.1.tar.bz2
Fix to use Curl and current binutils version:
   
   
Comment out line 65 (wget) in mspgcc4/do-binutils.sh (OS X doesn't include wget and we've already downloaded the file above).
Change line 65 of <code>mspgcc4/do-binutils.sh<code>: substitute 'wget -c' for 'curl -O' (that's a capital letter o).
Change line 136 in <code>mspgcc4/buildgcc.pl<code> to: $BINUTILS_VERSION = "2.21.1";

Revision as of 19:12, 1 November 2011

This page documents Flux's attempt to get the TI LaunchPad working on a MacBook Air running Mac OS X Lion 10.7.2.

USB Driver

Building Toolchain

Make sure you have Xcode installed (for GCC et al)

Download the toolchain and bunutils:

$ git clone git://mspgcc4.git.sourceforge.net/gitroot/mspgcc4/mspgcc4

Fix to use Curl and current binutils version:

Change line 65 of mspgcc4/do-binutils.sh: substitute 'wget -c' for 'curl -O' (that's a capital letter o). Change line 136 in mspgcc4/buildgcc.pl to: $BINUTILS_VERSION = "2.21.1";