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
- Host: GitHub
- URL: https://github.com/ibaca/device-io-tools
- Owner: ibaca
- Created: 2016-03-19T06:27:48.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-19T06:34:18.000Z (over 10 years ago)
- Last Synced: 2025-01-22T10:51:12.381Z (over 1 year ago)
- Size: 483 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```