An open API service indexing awesome lists of open source software.

https://github.com/ibaca/device-io-tools

RaspberryPI deveice-io compilation notes
https://github.com/ibaca/device-io-tools

Last synced: 6 months ago
JSON representation

RaspberryPI deveice-io compilation notes

Awesome Lists containing this project

README

          

## 1. Install java 8
http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html

## 2. Install toolchain (cross-compiler raspberry pi)
http://jeremy-nicola.info/portfolio-item/cross-compilation-distributed-compilation-for-the-raspberry-pi/

You can skip raspberrypi-tools compilation, just...
```
$ cd
$ git clone https://github.com/raspberrypi/tools.git --depth=1
$ ln -s //tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc //tools/bin/gcc
```
Set device-io env PI_TOOLS=//tools

## 3. Compile device IO
https://wiki.openjdk.java.net/display/dio/Getting+Started

```
$ make
```

## 4. Install
```
$ scp /device-io/build/jar/dio.jar pi@:/home/pi/ejdk1.8.0/lib
$ scp /device-io/build/so/libdio.so pi@:/usr/lib
```