Difference between revisions of "Project:MSP430 Mac Howto"

From London Hackspace Wiki
Jump to navigation Jump to search
m
Line 6: Line 6:
  
 
== Building Toolchain ==
 
== Building Toolchain ==
Make sure you have Xcode installed (for GCC et al)
+
* Make sure you have Xcode installed (for GCC et al) - you can download it from the App Store
 +
* Install wget - just download (e.g. http://ftp.gnu.org/gnu/wget/wget-1.13.tar.gz) and compile:
  
 +
$ ./configure --without-ssl
 +
$ sudo make install
 +
 
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
  
Fix to use Curl and current binutils version:
+
Fix to binutils version:
+
Change line 136 in <code>mspgcc4/buildgcc.pl<code> to: <code>$BINUTILS_VERSION = "2.21.1";</code>
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 20:03, 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

$ ./configure --without-ssl
$ sudo make install

Download the toolchain and bunutils:

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

Fix to binutils version: Change line 136 in mspgcc4/buildgcc.pl to: $BINUTILS_VERSION = "2.21.1";