From b8040b529dd83f2def82679aa9318fe3e6a84aa0 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Wed, 15 Feb 2012 08:04:37 +0800 Subject: 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 --- AT91SAM7S256/armdebug/Host/README | 12 ++++++++---- AT91SAM7S256/armdebug/Host/pyenv-nxt-gdb-server | 5 ++++- 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 $* -- cgit v1.2.3