Add FreeBSD support#81
Add FreeBSD support#81swills wants to merge 1 commit intoscream3r:2.8.1-experimentalfrom swills:freebsd
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. |
| break; | ||
| } | ||
| case SerialNativeInterface.OS_FREEBSD: { | ||
| PORTNAMES_REGEXP = Pattern.compile("(cuaU)[0-9]{1,3}"); |
There was a problem hiding this comment.
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.