deadprogram
80a3721f8b
darwin: use Go type wrappers to avoid declaring Go methods on C types.
...
This is needed starting with Go 1.21 due to stricter enforcement of rules
about adding methods to existing types, now including C types.
See https://github.com/golang/go/issues/60725 for further details.
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-08-10 13:10:27 +02:00
Cristian Maglie
386b387977
Updated license
2023-08-10 01:07:25 +02:00
Cristian Maglie
376ad6baaf
Retry port enumeration 5 times before giving up (macosx)
...
We observer errors getting the IOCalloutDevice string, this is a
tentative fix based on the hypotesis that the enumerator is
called too early during the USB enumeration phase.
2023-01-02 12:56:19 +01:00
Cristian Maglie
2cf9e2e281
Remove old go1.9- compatibilty files
2022-01-04 17:11:35 +01:00
Cristian Maglie
adc54fb194
Updated license years
2021-07-20 12:56:48 +02:00
Cristian Maglie
b62cd2386c
Added support for macosx 10.11+
...
Seems like, starting from 10.11, IOUSBDevice has been renamed to IOUSBHostDevice.
2021-02-26 13:07:44 +01:00
Cristian Maglie
df95023074
Introducing go.mod for dep management
2019-12-02 19:51:36 +01:00
Cristian Maglie
24a6610f05
Updated license years
...
Updated to 2020 even if we are less than one month ahead.
2019-12-02 19:27:10 +01:00
Cristian Maglie
219de06186
Fixed darwin build for go1.10+
2018-08-27 14:18:10 +02:00
Cristian Maglie
e42339511c
Fixed wrong build tags... oops
2018-08-19 18:57:32 +02:00
Cristian Maglie
3ee4586c58
Splitted usb_darwing.go in two different build units based on go version
2018-08-19 18:08:03 +02:00
Cristian Maglie
1ba1196861
Fixed build of USB enumerator for go compiler >=1.8.3 (@facchinm)
...
Fixes #30
2017-06-22 15:40:40 +02:00
Martino Facchin
51237629e6
Fix build using Darwin and osxcross
2017-02-13 16:33:49 +01:00
Cristian Maglie
c8b1c23a56
Moved USB enumerations subroutines in their own package
2017-01-30 10:54:16 +01:00