OpenWrt Forum Archive

Topic: Running a Weather Station WS2300 off WRT 54GS via Serial

The content of this topic has been archived on 2 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I believe I can manage doing the electronic mods for the serial ports and the package parts too.

Next thing, this is where I need some guidance, Compiling/building a package which will read data from a serial port.

I found the C code, which seems simple enough and lightweight - http://www.lavrsen.dk/twiki/bin/view/Op … nloadFiles.

I have no Linux box unless you count the hacked Buffalo Station http://groups.yahoo.com/group/LinkStation_General/, so I installed the SDK on the MAC (tiger). Don't know if this will do the job? It has all the development tools on it.

Maybe someone could compile the simple C files, any help appreciated. I think it would be a nice additon to OpenWrt project.

thanks

Gavin Lyons

Ramsau am  Dachstein, Austria http://www.i386.com/webcams/?cam=wm-cam

(Last edited by i386 on 20 Nov 2005, 10:31)

In the Wiki there is a howto for the OpenWrt SDK (see BuildingPackagesHowTo).

(Last edited by olli_04 on 20 Nov 2005, 10:31)

I tried the 'make clean' however the OS X gives malloc errors in the virtual memory and then Stop.  - Which I think is not good.

I have old PIII box so I think I could install FreeBSD 6.0. Would this be alright?

So a package seems to have a Config.in, Makefile, .patch and .control file.  I presume the .control is to tell the compiler how to get the source and header files.

Seems a little complicated to make a simple 'Hello World'. But I'm no Linux expert.;-(  The files for WS2300 are simple C and header files.

Is there a simpler way of compiling instead off make a package, maybe a simple module?



Vielen Danke,
Gavin :-)

(Last edited by i386 on 20 Nov 2005, 12:07)

The discussion might have continued from here.