From: Tisham D. <ti...@el...> - 2010-03-24 04:56:02
|
I have a working Microstrain 3DM-GX2 with verdex. I can pass the code along if you need. I had to use sertest to set to port bit rate since my own settings didn't seem to work I haven't resolved what's missing in my own code yet. Cheers, Tisham. On 24/03/2010 3:02 PM, gum...@li... wrote: > Hopefully no one will mind if I jump in there but I am attempting to do very > the same thing, read from a micro strain IMU and additionally run some > servos over i2c. I have made some modifications to the API and would like to > setup the make files as you described but running into a hitch. > > I tried linking CC to where the gcc executable is in the cross folder but I > am receiving the error 127 "Command not found" when I run the Make file. > If not the executable then what is CC supposed to be linked to ? I'm still > new to all this so that might explain a lot. > > what's in the cc path in the make file is now, and below the error massage > > GUMSTIX_ROOT = $/home/carl/gumstix/gumstix-oe > CROSS_COMPILE = $(GUMSTIX_ROOT)/tmp/cross/arm-angstrom-linux-gnueabi/bin/ > CC = $(CROSS_COMPILE)gcc > > :~/gumstix/robostix/gumstix/i2c$ make > Creating svn-version.h ... > home/carl/gumstix/gumstix-oe/tmp/cross/arm-angstrom-linux-gnueabi/bin/gcc > -O2 -Wall -I . -I ../Common -I ../../Shared -Os -march=armv5te -mtune=xscale > -Wa,-mcpu=xscale -c -o i2c.o i2c.c > make: > home/carl/gumstix/gumstix-oe/tmp/cross/arm-angstrom-linux-gnueabi/bin/gcc: > Command not found > make: *** [i2c.o] Error 127 > > > Thanks for you help |
From: Ash C. <ash...@gm...> - 2010-03-24 07:07:27
|
Hi Tisham, I always find it super useful to have samples when I'm developing something new. It is even better when I see that someone else done what I'm trying to do! As I'm sure other users would find it useful, would you consider posting your code (or a few instructions plus a pointer to the code) to the Gumstix wiki (http://www.gumstix.net/wiki/index.php?title=Main_Page)? As a sample, Dave Hylands has made a really great page for his userspace GPIO code (http://www.gumstix.net/wiki/index.php?title=User_GPIO_Driver). -Ash On Tue, Mar 23, 2010 at 9:55 PM, Tisham Dhar <ti...@el...> wrote: > I have a working Microstrain 3DM-GX2 with verdex. I can pass the code along > if you need. > I had to use sertest to set to port bit rate since my own settings didn't > seem to work I haven't resolved what's missing in my own code yet. > > Cheers, > > Tisham. > > On 24/03/2010 3:02 PM, gum...@li... wrote: > > Hopefully no one will mind if I jump in there but I am attempting to do very > the same thing, read from a micro strain IMU and additionally run some > servos over i2c. I have made some modifications to the API and would like to > setup the make files as you described but running into a hitch. > > I tried linking CC to where the gcc executable is in the cross folder but I > am receiving the error 127 "Command not found" when I run the Make file. > If not the executable then what is CC supposed to be linked to ? I'm still > new to all this so that might explain a lot. > > what's in the cc path in the make file is now, and below the error massage > > GUMSTIX_ROOT = $/home/carl/gumstix/gumstix-oe > CROSS_COMPILE = $(GUMSTIX_ROOT)/tmp/cross/arm-angstrom-linux-gnueabi/bin/ > CC = $(CROSS_COMPILE)gcc > > :~/gumstix/robostix/gumstix/i2c$ make > Creating svn-version.h ... > home/carl/gumstix/gumstix-oe/tmp/cross/arm-angstrom-linux-gnueabi/bin/gcc > -O2 -Wall -I . -I ../Common -I ../../Shared -Os -march=armv5te -mtune=xscale > -Wa,-mcpu=xscale -c -o i2c.o i2c.c > make: > home/carl/gumstix/gumstix-oe/tmp/cross/arm-angstrom-linux-gnueabi/bin/gcc: > Command not found > make: *** [i2c.o] Error 127 > > > Thanks for you help > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > |