Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 595 Bytes

DEVELOPMENT.md

File metadata and controls

31 lines (24 loc) · 595 Bytes

Development Environment

libmodbus

For development environments install libmodbus system wide.

cd
git clone https://github.com/stephane/libmodbus.git
cd libmodbus
./autogen.sh
./configure --prefix=/usr --disable-tests
make -j3 && make install

libmodbus documentation

To build the documentation for the 3.1.4 branch you have to install asciidoc and xmlto.

For arch install them via:

pacman -S asciidoc xmlto

libmodbus-rs

cd
git clone https://github.com/zzeroo/libmodbus-rs.git
cd libmodbus-rs
cargo run --example master -- /dev/ttyUSB0 1