OS X instructions.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Tue, 6 Apr 2010 04:23:40 +0000 (04:23 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Tue, 6 Apr 2010 04:23:40 +0000 (04:23 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@450 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

README.darwin [new file with mode: 0644]
client/Makefile
firmware/Makefile

diff --git a/README.darwin b/README.darwin
new file mode 100644 (file)
index 0000000..957d20f
--- /dev/null
@@ -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
index c2e88af..df6d840 100644 (file)
@@ -3,6 +3,7 @@
 link:
        rm -f /usr/local/bin/goodfet.* /usr/local/bin/goodfet
        rm -rf *~
 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.
        ln -s `pwd`/goodfet `pwd`/goodfet.* /usr/local/bin/
 install:
        #Try 'make link' instead.
index a92574b..2e7b08b 100644 (file)
@@ -31,6 +31,9 @@ app= goodfet
 
 all: $(app).hex
 
 
 all: $(app).hex
 
+lib/.o:
+       ./configure
+       false
 lib/RUNCONFIG.o:
        ./configure
        false
 lib/RUNCONFIG.o:
        ./configure
        false