Ts7800Setup¶
Compilation¶
- Install Debian Lenny from ftp.embeddedarm.com
- Install the following packages using
apt-get:subversion cmake libxml2-dev libical-dev gsoap libpoco-dev libboost-filesystem1.35-dev libboost-system1.35-dev libmozjs-dev gcc-4.2 g++-4.2 - Checkout dss from Subversion
- in
buildrun:CXXFLAGS=-DBOOST_SP_USE_PTHREADS CC=gcc-4.2 CXX=g++-4.2 cmake .. -DWITH_TESTS=no - run make
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485434 to learn about the -DBOOST_SP_USE_PTHREADS problem
Running¶
- Use
/dev/ttts2as RS-485 device - Make sure you use a correct cable (see the manual)