itm / wsn-device-drivers

Drivers for Wireless Sensor Network Devices
Other
6 stars 4 forks source link

Raspberry Pi support (packed RXTX libraries are compiled for "arm", not "armhf") #140

Closed danbim closed 10 years ago

danbim commented 10 years ago

The current JVM version(s) don't allow to detect if an ARM CPU is "armel" or "armhf", where the latter is used for Raspberry Pi. Therefore it is not possible to ship the TR executable JAR with "armhf" support. Therefore we must choose a different implementation. The JVM environment variable -DdisableEmbeddedRXTX will, if set, disable the usage of the packed RXTX JNI files. In order to have the gateway work one would therefore have to provide this flag at TR gateway startup AND install librxtx-java using e.g., aptitude on the host OS.