Fazecast / jSerialComm

Platform-independent serial port access for Java
GNU Lesser General Public License v3.0
1.34k stars 287 forks source link

FreeBSD support #356

Closed DomrachevIvan closed 2 years ago

DomrachevIvan commented 3 years ago

is it possible to add FreeBSD support?

hedgecrw commented 2 years ago

I'm looking into this now. It seems like the majority of FreeBSD users are on either x86, x86_64, or arm64 architectures. Does one of those architectures cover your use case? If so, I'm going to target just those systems until somehow has a specific need for one of the more obscure architectures.

DomrachevIvan commented 2 years ago

x86_64. Thank you

hedgecrw commented 2 years ago

Please test the following version of the library which has added support for FreeBSD:

https://drive.google.com/file/d/1QzWPJg5MU_2YrnsB1MsOWeTbjYD84D2h/view?usp=sharing

DomrachevIvan commented 2 years ago

error: https://gist.github.com/DomrachevIvan/d440531aebf6763fdfefccf5c1dceaa4 code used: https://gist.github.com/DomrachevIvan/2ea6bca0bcb41166e268c6c4f5119f46

hedgecrw commented 2 years ago

Oops, I must have uploaded the wrong file for testing. Sorry!

This is the correct version: https://www.dropbox.com/t/cBr549hqDOfdp16t

DomrachevIvan commented 2 years ago

this one works great! i use it with zigbee dongle and smart home. everything works fine. thank you!