aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2012-02-15 08:04:37 +0800
committerTat-Chee Wan (USM)2012-02-15 08:04:37 +0800
commitb8040b529dd83f2def82679aa9318fe3e6a84aa0 (patch)
treecb72e8437735d07d98d5b417eda5e8c81e6d0a25
parent86ac3871a2fe836501ec9cdaee3e4a9356b2fa7e (diff)
updated readme and environment test script
Updated README with latest information Modified test script to use Apple's recommended method for invoking 32-bit python
-rw-r--r--AT91SAM7S256/armdebug/Host/README12
-rwxr-xr-xAT91SAM7S256/armdebug/Host/pyenv-nxt-gdb-server5
2 files changed, 12 insertions, 5 deletions
diff --git a/AT91SAM7S256/armdebug/Host/README b/AT91SAM7S256/armdebug/Host/README
index 23d95c9..3c9f64c 100644
--- a/AT91SAM7S256/armdebug/Host/README
+++ b/AT91SAM7S256/armdebug/Host/README
@@ -1,12 +1,16 @@
The nxt-gdb-server.py script is initially developed by Nicolas Schodet.
It depends on the following libraries:
- - nxt-python v2.1.x http://code.google.com/p/nxt-python/
- - pyusb v0.4x http://pyusb.wiki.sourceforge.net
+ - nxt-python v2.2.x http://code.google.com/p/nxt-python/
+
+Additional Dependencies For Windows and MacOSX:
+ - Fantom Drivers from LEGO
+
+Additional Dependencies For Linux:
- libusb v0.1.x http://libusb.org/
-Currently, it does not work with libusb v1.x, on Mac OSX, it causes segfaults.
-
+ Currently, it does not work with libusb v1.x; on Mac OSX, it causes segfaults.
+
Installation
============
diff --git a/AT91SAM7S256/armdebug/Host/pyenv-nxt-gdb-server b/AT91SAM7S256/armdebug/Host/pyenv-nxt-gdb-server
index 875e92e..7929c60 100755
--- a/AT91SAM7S256/armdebug/Host/pyenv-nxt-gdb-server
+++ b/AT91SAM7S256/armdebug/Host/pyenv-nxt-gdb-server
@@ -1,3 +1,6 @@
#!/bin/sh
export PYTHONPATH=~/svnrepo/nxt-python:~/gitrepo/pyfantom
-arch -i386 /usr/bin/python2.6 ~/gitrepo/armdebug/Host/nxt-gdb-server.py $*
+export EXP="export VERSIONER_PYTHON_PREFER_32_BIT=yes"
+ARCH="arch -i386"
+
+$ARCH python ~/gitrepo/armdebug/Host/nxt-gdb-server.py $*