From 3924e6c10611bfeb4c3970a91bbe66c5ba7de6f2 Mon Sep 17 00:00:00 2001 From: travisutk Date: Tue, 6 Apr 2010 04:23:40 +0000 Subject: [PATCH] OS X instructions. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@450 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- README.darwin | 34 ++++++++++++++++++++++++++++++++++ client/Makefile | 1 + firmware/Makefile | 3 +++ 3 files changed, 38 insertions(+) create mode 100644 README.darwin diff --git a/README.darwin b/README.darwin new file mode 100644 index 0000000..957d20f --- /dev/null +++ b/README.darwin @@ -0,0 +1,34 @@ +#Make sure that you've installed the following: +# XCode +# MacPorts +# FTDI Virtual COM Driver + +#Now install some ports. +sudo port install py26-serial python_select wget subversion + +# Code +mkdir -p ~/svn; cd /svn +svn co https://goodfet.svn.sourceforge.net/svnroot/goodfet + +# Client +cd ~/svn/goodfet/trunk/client +sudo make link + +# Python, other tools. +sudo python_select python26 + +# Load firmware, not yet building it locally. +goodfet.bsl --fromweb +goodfet.monitor test + + +# Now that we've got it working, let's +# install the compiler for building firmware. +sudo mkdir -p /opt +cd /opt +curl http://goodserv.cis.upenn.edu/mspgcc/mspgcc-osx.tar.bz2 | sudo tar -xjv +# Add it to the $PATH. +echo 'export PATH=/opt/mspgcc/bin:$PATH' >~/.profile + +# And then build the firmware +cd ~/svn/goodfet/trunk/firmware diff --git a/client/Makefile b/client/Makefile index c2e88af..df6d840 100644 --- a/client/Makefile +++ b/client/Makefile @@ -3,6 +3,7 @@ link: rm -f /usr/local/bin/goodfet.* /usr/local/bin/goodfet rm -rf *~ + mkdir -p /usr/local/bin ln -s `pwd`/goodfet `pwd`/goodfet.* /usr/local/bin/ install: #Try 'make link' instead. diff --git a/firmware/Makefile b/firmware/Makefile index a92574b..2e7b08b 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -31,6 +31,9 @@ app= goodfet all: $(app).hex +lib/.o: + ./configure + false lib/RUNCONFIG.o: ./configure false -- 2.20.1