TrackingHardware
Software
Mega PlanEtc. |
Main /
PythonThough python runs great on the Gumstix, we only have initial libraries for the CMUCam2 and none for the Brainstem. Python and Perl BinariesThe tarball python-arm.tar.gz is a working build of Python-ARM for the Gumstix, which resides in The file perl5.8.4.gz is a working build of Perl for the Gumstix which can reside anywhere, and it's minimal - perl interpreter only. Recompiling Python and Perl on the Gumstix ToolchainThe main makefile compiles what is specified by the TARGETS variable. To compile Python and Perl, add a line to the man Gumstix buildroot makefile like: In the main Gumstix makefile, find the line that says: TARGETS+=u-boot jffs2root Leave that uncommented, that target is the one that makes your You might need to add the location of the cross compiler to your PATH variable, i.e., PATH=$PATH:gumstix-buildroot/build-arm/staging-area/bin/ With these patches, Python should compile out of the box. If you get errors about wince.h and nwutil.h (Windows CE and some Netware stuff), just remove all references to those header files. Communicating with the CMUCam2 over Serial via PythonWe have some initial CMUCam2 code available here: This code uses the serial daemon to talk out the serial port, just as the Java version does. You should use the same protocols as the Java version (including usage of the |