-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add FreeBSD support #81
base: 2.8.1-experimental
Are you sure you want to change the base?
Conversation
Turns out I had a bad copy of the lib in ~/.jssc. When I placed the right lib in ~/.jssc/FreeBSD, it works fine. So ignore the bit about ESPlorer not working. |
I'm developing for FreeBSC, but the same is not running. The code is this: In the development environment that works windows works, but not production running on FreeBSD does. |
@@ -59,6 +59,11 @@ | |||
PORTNAMES_PATH = "/dev/"; | |||
break; | |||
} | |||
case SerialNativeInterface.OS_FREEBSD: { | |||
PORTNAMES_REGEXP = Pattern.compile("(cuaU)[0-9]{1,3}"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pattern should be "(cuaU)[0-9]{1,3}$" to pull in only the base cuaU* nodes and not the .init/.lock devices.
I threw a comment on this (although it's looking quite likely that it'll see no resolution here =() -- I'll be amending the local patch for comms/java-simple-serial-connector with this soon along with a similar patch to this to fix some devel/arduino18 bugs with serial port enumeration |
Passes tests fine. Not 100% sure about the arm bits, haven't tested those, but they might be right.
Still having trouble using this with ESPlorer, perhaps I haven't built my lib right. Getting java.lang.UnsatisfiedLinkError when calling jssc.SerialNativeInterface.openPort. Any suggestions would be appreciated.