RishiGupta12 / SerialPundit

Serial port communication in Java - FTDI D2XX, HID API, X/Y modem
GNU Affero General Public License v3.0
125 stars 56 forks source link

Can not get shared library spcomlnxarmv6hf.so resource as stream from sp-tty.jar file #25

Closed Abu-Abdullah closed 7 years ago

Abu-Abdullah commented 7 years ago

i got this exception with the lates build. com.serialpundit.core.SerialComException: Can not get shared library spcomlnxarmv6hf.so resource as stream from sp-tty.jar file !

spcomlnxarmv6hf.so is not there in the jar file

OS raspian (raspberry pi 3)

Abu-Abdullah commented 7 years ago

please add support for ARMv6, it seems raspberry pi zero is only ARMv6

RishiGupta12 commented 7 years ago

It should be armv7. Anyway which toolchain you are using any link.

Abu-Abdullah commented 7 years ago

can you please explain more what i need to do here about (toolchain ?), i'm just using the standard raspbian JESSIE latest build.

Raspberry Pi zero W is armv6: https://en.wikipedia.org/wiki/Raspberry_Pi

Abu-Abdullah commented 7 years ago

compiler is the 4.9

pi@raspberrypi:~ $ arm-linux-gnueabihf-gcc --version
arm-linux-gnueabihf-gcc (Raspbian 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.9.28+ #998 Mon May 15 16:50:35 BST 2017 armv6l GNU/Linux

i believe this is the official toolchain: https://github.com/raspberrypi/tools

Abu-Abdullah commented 7 years ago

Will it be planned, the support for armv6 ?

RishiGupta12 commented 7 years ago

Try new sp-tty.jar https://github.com/RishiGupta12/SerialPundit/tree/master/prebuilt-release I do not have rpi0, therefore you have to try and update me whether it works or not.

What is your project.

Abu-Abdullah commented 7 years ago

many thanks, i can see that the error is gone. my app is still facing few issues but i believe it is related to configuring the UART in rpi0. i will open another case if i faced issue with the serial library.

my app is controlling flight controller (quadcopter) from serial via raspberry.

again many thanks for this update.