forked from arduino/RXTX
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Federico Fissore
committed
Jan 9, 2013
1 parent
6393db5
commit 0661283
Showing
2 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# RXTX 2.2 | ||
|
||
Latest update with upstream: **2012-01-08** | ||
|
||
This fork of RXTX patches the upstream sources to introduce the following fixes: | ||
|
||
- support to linux ttyACM* devices | ||
- reduced latency | ||
- faster ports listing on Windows boxes with some particular hardware (Bluetooth) configurations | ||
|
||
## Upgrading the source code | ||
|
||
Check it out from CVS with the commands | ||
|
||
```bash | ||
export CVSROOT=:pserver:[email protected]:/var/cvs/cvsroot | ||
cvs login # (then hit return) | ||
cvs checkout -r commapi-0-0-1 rxtx-devel | ||
``` | ||
|
||
## Compiling on linux | ||
|
||
Have the necessary tools in place: on debian/ubuntu `apt-get install build-essentials` should suffice. Then, in the repo folder, run: | ||
|
||
```bash | ||
mkdir build | ||
../configure | ||
make | ||
``` | ||
|
||
and get the resulting files. | ||
|
||
## Compiling on windows | ||
|
||
Have the necessary tools in place. These are: | ||
|
||
- [git](http://code.google.com/p/msysgit/) | ||
- [Visual C++ 2010 Express](http://www.microsoft.com/visualstudio/ita/downloads#d-2010-express) | ||
- [Windows SDK 7.1](http://www.microsoft.com/en-us/download/details.aspx?id=8279) | ||
- [Java Development Kit 1.4](http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase14-419411.html) (any JDK should actually suffice) | ||
- [JUnit.jar](http://search.maven.org/#browse|-2021159614) placed somewhere on your hard drive | ||
|
||
After you have cloned the repo, run: | ||
|
||
```bat | ||
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools>vsvars32.bat | ||
Setting environment for using Microsoft Visual Studio 2010 x86 tools. | ||
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools>cd C:\RXTX\ | ||
C:\RXTX> mkdir build | ||
C:\RXTX> copy Makefile.msvc build\Makefile | ||
C:\RXTX> cd build | ||
C:\RXTX\build> set path=%PATH%;"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin" | ||
``` | ||
|
||
Then edit Makefile and correct path variables, in particular: JAVA_HOME, JUNIT_JAR, JAVAC, JAR, JAVAH, JAVA. Finally run: | ||
|
||
```bat | ||
C:\RXTX\build> nmake serial | ||
``` | ||
|
||
Thanks to @neophob for his [blog page](http://neophob.com/2011/05/serial-library-rxtx-v2-2pre5/). | ||
|
||
# Compiling on macosx | ||
|
||
TODO |
File renamed without changes.