Show Posts
Pages: 1 2 [3] 4 5 ... 13
31  Products / Arduino Yún / Re: Anyone built RXTX for Yun? on: May 07, 2014, 10:34:36 am
Haven't been home to test the libs yet, but there is one possible issue to resolve.  The built libraries are only found in:

/home/simon/RXTX/mips-openwrt-linux-uclibc/.libs

Not sure if this is an issue or not, I would have expected the build to put them some place not hidden.

Code:
-rw-rw-r-- 1 simon simon 10000 May  7 16:30 fuserImp.o
-rw-rw-r-- 1 simon simon 28208 May  7 16:30 I2CImp.o
-rwxrwxr-x 1 simon simon 29561 May  7 16:30 librxtxI2C-2.2.so
lrwxrwxrwx 1 simon simon    16 May  7 16:30 librxtxI2C.la -> ../librxtxI2C.la
-rw-rw-r-- 1 simon simon   962 May  7 16:30 librxtxI2C.lai
lrwxrwxrwx 1 simon simon    17 May  7 16:30 librxtxI2C.so -> librxtxI2C-2.2.so
-rwxrwxr-x 1 simon simon 17913 May  7 16:30 librxtxParallel-2.2.so
lrwxrwxrwx 1 simon simon    21 May  7 16:30 librxtxParallel.la -> ../librxtxParallel.la
-rw-rw-r-- 1 simon simon   992 May  7 16:30 librxtxParallel.lai
lrwxrwxrwx 1 simon simon    22 May  7 16:30 librxtxParallel.so -> librxtxParallel-2.2.so
-rwxrwxr-x 1 simon simon 30618 May  7 16:30 librxtxRaw-2.2.so
lrwxrwxrwx 1 simon simon    16 May  7 16:30 librxtxRaw.la -> ../librxtxRaw.la
-rw-rw-r-- 1 simon simon   962 May  7 16:30 librxtxRaw.lai
lrwxrwxrwx 1 simon simon    17 May  7 16:30 librxtxRaw.so -> librxtxRaw-2.2.so
-rwxrwxr-x 1 simon simon 30627 May  7 16:30 librxtxRS485-2.2.so
lrwxrwxrwx 1 simon simon    18 May  7 16:30 librxtxRS485.la -> ../librxtxRS485.la
-rw-rw-r-- 1 simon simon   974 May  7 16:30 librxtxRS485.lai
lrwxrwxrwx 1 simon simon    19 May  7 16:30 librxtxRS485.so -> librxtxRS485-2.2.so
-rwxrwxr-x 1 simon simon 91186 May  7 16:30 librxtxSerial-2.2.so
lrwxrwxrwx 1 simon simon    19 May  7 16:30 librxtxSerial.la -> ../librxtxSerial.la
-rw-rw-r-- 1 simon simon   980 May  7 16:30 librxtxSerial.lai
lrwxrwxrwx 1 simon simon    20 May  7 16:30 librxtxSerial.so -> librxtxSerial-2.2.so
-rw-rw-r-- 1 simon simon 14608 May  7 16:30 ParallelImp.o
-rw-rw-r-- 1 simon simon 29040 May  7 16:30 RawImp.o
-rw-rw-r-- 1 simon simon 29444 May  7 16:30 RS485Imp.o
-rw-rw-r-- 1 simon simon 87320 May  7 16:30 SerialImp.o
32  Products / Arduino Yún / Re: Anyone built RXTX for Yun? on: May 07, 2014, 03:24:14 am
Thank you,

Build script made:
Code:
STAGING_DIR=/home/simon/openwrt/staging_dir
CFLAGS=-I$STAGING_DIR/target-mips_r2_uClibc-0.9.33.2/usr/include
export CFLAGS
LDFLAGS=-L$STAGING_DIR/target-mips_r2_uClibc-0.9.33.2/usr/lib
export LDFLAGs
CC=/yun_toolchain/mips-openwrt-linux-uclibc-gcc
export CC
./configure --host=mips-openwrt-linux-uclibc
mkdir $STAGING_DIR/usr/include/linux
make

I now have a set of libraries, that I will try out tonight.

/yun_toolchain is a symbolic link I created to the actual location of the compiler:
/home/simon/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin
33  Products / Arduino Yún / Re: Anyone built RXTX for Yun? on: May 07, 2014, 01:37:44 am
Thank you, will give it a try tonight after work.
34  Products / Arduino Yún / Anyone built RXTX for Yun? on: May 06, 2014, 03:23:48 pm
I've downloaded the source for RXTX and have been trying to compile it for the Yun.

I have the toolchain installed, and have made some progress, haven't finished yet.

Does anyone know the correct settings for --build, --target, --host on configure?
35  Products / Arduino Yún / Re: node.js on: May 06, 2014, 03:21:57 pm
Thank you, I will have a look.
36  Products / Arduino Yún / Re: Connecting female 9 pin D-type on: May 05, 2014, 01:12:34 pm
Just ordered one of these.
http://www.amazon.co.uk/exec/obidos/ASIN/B00B5T1P54/ref=ox_ya_os_product_refresh_C
37  Products / Arduino Yún / Re: Connecting female 9 pin D-type on: May 05, 2014, 12:37:49 pm
Is it possible to connect a D-type to the USB Com port?  If yes, what do I need to buy?

How about this?

http://www.amazon.co.uk/Serial-Converter-Interface-Module-Indicator/dp/B00E9QXRKQ/ref=sr_1_4?ie=UTF8&qid=1399312915&sr=8-4&keywords=ttl+rs232+convertor
38  Products / Arduino Yún / Re: Connecting female 9 pin D-type on: May 05, 2014, 12:21:50 pm
Thank you, I'll have to look into it.
39  Products / Arduino Yún / Re: Connecting female 9 pin D-type on: May 05, 2014, 12:14:33 pm
Oh....I was rather hoping that there were already other UART's availble on I/O pins.
40  Products / Arduino Yún / Re: Connecting female 9 pin D-type on: May 05, 2014, 10:11:14 am
Its just standard RS232.
41  Products / Arduino Yún / Connecting female 9 pin D-type on: May 05, 2014, 09:47:19 am
I have a 9 pin D-type female, with wires soldered to pins 2, 3 and 5. 

What is the simplest way of hooking this up to the Yun so I can address serial data received through it?

Thank you,

42  Products / Arduino Yún / Re: gcc on linino? on: May 05, 2014, 09:31:40 am
Development environment working on Laptop, configured remote debugging and it works well.

On my main development system I have tried today to get this set-up, I've got as far as remote debugging, but for some reason I get:
Code:
Can't bind address: Address already in use.
Killing inferior

Nevermind, rebooted Yun and restarted eclipse, problem has gone.
43  Products / Arduino Yún / Re: gcc on linino? on: May 04, 2014, 02:45:03 pm
Just got the remote debugging working, now for some real work smiley

Thanks again,  I've got a simple project planned for the Yun for the slot car hobbist...Anyone familiar with the DS-300 kit for lap-timing will know that it offers a serial RS232 connection only.

I've written a Java application that forwards the serial packets onto remote clients using socket.io, it also logs the data so that races can be played back at a later date.

The plan now is to use the Yun to host this application and use it as a server to push the records to clients using the WiFi interface, clients can be mobiles or PC's.



44  Products / Arduino Yún / Re: gcc on linino? on: May 04, 2014, 02:07:18 pm
In eclipse, have prefix set to:
mips-openwrt-linux-uclibc-

Path set to:
/home/simon/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin

Just trying a very simple example:
Code:
#include <stdio.h>

int main(void) {
printf("Hello World\n");
return 0;
}

When I build I get:
Code:
Description Resource Path Location Type
undefined reference to `main' HelloWorld line 95, external location: /home/simon/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/mips-openwrt-linux-uclibc/lib/crt1.o:/home/simon/openwrt/build_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/uClibc-0.9.33.2/libc/sysdeps/linux/mips/crt1.S C/C++ Problem
make: *** [HelloWorld] Error 1 HelloWorld C/C++ Problem

Not sure why, nothing looks wrong in the source to me.

Edit:  nevermind, just google'd and found someone with the same problem, shut down eclipse and re-opened, cleaned and build all, problem gone and binary built smiley
45  Products / Arduino Yún / Re: gcc on linino? on: May 04, 2014, 01:54:15 pm
Thank you, would make a nice change from Norwich, lovely as it is.

Pages: 1 2 [3] 4 5 ... 13