Skip to content
RaspberryPI deveice-io compilation notes
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.

1. Install java 8

2. Install toolchain (cross-compiler raspberry pi)

You can skip raspberrypi-tools compilation, just...

$ cd <workdir>
$ git clone --depth=1
$ ln -s /<workdir>/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc /<workdir>/tools/bin/gcc

Set device-io env PI_TOOLS=//tools

3. Compile device IO

$ make

4. Install

$ scp <workdir>/device-io/build/jar/dio.jar pi@<IP>:/home/pi/ejdk1.8.0/lib
$ scp <workdir>/device-io/build/so/ pi@<IP>:/usr/lib
You can’t perform that action at this time.