-
Notifications
You must be signed in to change notification settings - Fork 0
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
rebase upstream #1
Commits on Jul 25, 2017
-
Enumerator: Fixed go:generate comment
It pointing to mksyscal_windows.go in local folder which already removed
Configuration menu - View commit details
-
Copy full SHA for 86b770d - Browse repository at this point
Copy the full SHA 86b770dView commit details
Commits on Jul 28, 2017
-
Merge pull request #36 from Lobaro/v1
Windows: Set DTS via setCommState
Configuration menu - View commit details
-
Copy full SHA for eae1344 - Browse repository at this point
Copy the full SHA eae1344View commit details
Commits on Aug 19, 2018
-
Configuration menu - View commit details
-
Copy full SHA for c702e0a - Browse repository at this point
Copy the full SHA c702e0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ee4586 - Browse repository at this point
Copy the full SHA 3ee4586View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c7a545 - Browse repository at this point
Copy the full SHA 3c7a545View commit details -
Removed duplicated methods on (nowadays) equivalent type C.io_*_t
This is due to improvements on the cgo builder related to darwin OS.
Configuration menu - View commit details
-
Copy full SHA for ef634e5 - Browse repository at this point
Copy the full SHA ef634e5View commit details -
CFRef are no more internally represented as pointer but as integers
This is due to improvements in CGO compiler for darwin OS
Configuration menu - View commit details
-
Copy full SHA for 75aa16d - Browse repository at this point
Copy the full SHA 75aa16dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee147ff - Browse repository at this point
Copy the full SHA ee147ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71fe05a - Browse repository at this point
Copy the full SHA 71fe05aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cdac3b3 - Browse repository at this point
Copy the full SHA cdac3b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6085517 - Browse repository at this point
Copy the full SHA 6085517View commit details -
Configuration menu - View commit details
-
Copy full SHA for 338c399 - Browse repository at this point
Copy the full SHA 338c399View commit details -
Configuration menu - View commit details
-
Copy full SHA for de1714d - Browse repository at this point
Copy the full SHA de1714dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e423395 - Browse repository at this point
Copy the full SHA e423395View commit details -
Implementing compatibility with go latest
This should allow darwin to be compatible with all the latest go1.7.x go1.8.x go1.9.x
Configuration menu - View commit details
-
Copy full SHA for 1c2446b - Browse repository at this point
Copy the full SHA 1c2446bView commit details
Commits on Aug 23, 2018
-
Merge pull request #51 from bugst/osx-fix
Fix 'darwin' build with latest releases of golang
Configuration menu - View commit details
-
Copy full SHA for d759e28 - Browse repository at this point
Copy the full SHA d759e28View commit details
Commits on Aug 27, 2018
-
Configuration menu - View commit details
-
Copy full SHA for d3b8f81 - Browse repository at this point
Copy the full SHA d3b8f81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 219de06 - Browse repository at this point
Copy the full SHA 219de06View commit details -
Merge pull request #52 from bugst/osx-fix-again
Fix osx build (again...)
Configuration menu - View commit details
-
Copy full SHA for 5f7892a - Browse repository at this point
Copy the full SHA 5f7892aView commit details
Commits on Dec 2, 2019
-
Updated to 2020 even if we are less than one month ahead.
Configuration menu - View commit details
-
Copy full SHA for 24a6610 - Browse repository at this point
Copy the full SHA 24a6610View commit details -
Configuration menu - View commit details
-
Copy full SHA for df95023 - Browse repository at this point
Copy the full SHA df95023View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2a9ea9 - Browse repository at this point
Copy the full SHA f2a9ea9View commit details
Commits on Dec 3, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 15b0a66 - Browse repository at this point
Copy the full SHA 15b0a66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96546e1 - Browse repository at this point
Copy the full SHA 96546e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88e0816 - Browse repository at this point
Copy the full SHA 88e0816View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1a463e - Browse repository at this point
Copy the full SHA d1a463eView commit details -
Transparently handle EINTR during Read
This has been observed in particular on MacOS, in this case just retry the call without throwing the error back to the user. Related to: arduino/arduino-cli#504 arduino/arduino-pro-ide#157
Configuration menu - View commit details
-
Copy full SHA for 6a673bf - Browse repository at this point
Copy the full SHA 6a673bfView commit details
Commits on Apr 18, 2020
-
fixed API procSetupDiGetDeviceRegistryPropertyW
confusingly, in this prototype Microsoft decided to split bufSize and reqSize
Configuration menu - View commit details
-
Copy full SHA for 900c828 - Browse repository at this point
Copy the full SHA 900c828View commit details -
completed retrievePortDetailsFromDevInfo
in retrievePortDetailsFromDevInfo: - updated call to setupDiGetDeviceRegistryProperty with the same style used elsewhere (first get the reqSize, then call) - use of generic variable names, in case the function is extended to fetch other values than spdrpFriendlyName (or spdrpDeviceDesc) - re-enabled the assignment of details.Product
Configuration menu - View commit details
-
Copy full SHA for 4df0da8 - Browse repository at this point
Copy the full SHA 4df0da8View commit details -
un-commented Product member of the struct PortDetails. This goes with the pull request "completed retrievePortDetailsFromDevInfo #40". Apologies for not submitting together...
Configuration menu - View commit details
-
Copy full SHA for f0d91f6 - Browse repository at this point
Copy the full SHA f0d91f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 820cffa - Browse repository at this point
Copy the full SHA 820cffaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f6eea0 - Browse repository at this point
Copy the full SHA 9f6eea0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7a06a7 - Browse repository at this point
Copy the full SHA f7a06a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1131ba5 - Browse repository at this point
Copy the full SHA 1131ba5View commit details -
allow Close() to be called from other goroutine than Read
The only way to interrupt running Read() method of io.Reader is to call Close from another goroutine. What happens is that go runtime builtin race detector complains about unsynchronised access to "opened" member, which is set in Close and checked in Read. It doesn't seem to be dangerous, but 1) you never know, and 2) it makes your life more difficult when you need to debug some other data races in a complex project that uses serial. Proposed fix changes simple access to "opened" to atomic operations. It's also supposed to fix #38
Configuration menu - View commit details
-
Copy full SHA for 1b760a8 - Browse repository at this point
Copy the full SHA 1b760a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6500d68 - Browse repository at this point
Copy the full SHA 6500d68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 545e830 - Browse repository at this point
Copy the full SHA 545e830View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0282e0 - Browse repository at this point
Copy the full SHA f0282e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66bfced - Browse repository at this point
Copy the full SHA 66bfcedView commit details
Commits on Apr 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 49ab90e - Browse repository at this point
Copy the full SHA 49ab90eView commit details
Commits on Apr 26, 2020
-
Wait for socat to be ready before running full test.
The -D option tells it to print something just before starting the transfer phase, which should be enough to ensure that all the file links are available without having to guess a suitable timeout.
Configuration menu - View commit details
-
Copy full SHA for 640e755 - Browse repository at this point
Copy the full SHA 640e755View commit details
Commits on May 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f88d900 - Browse repository at this point
Copy the full SHA f88d900View commit details -
Co-authored-by: Cristian Maglie <c.maglie@bug.st>
Configuration menu - View commit details
-
Copy full SHA for b015421 - Browse repository at this point
Copy the full SHA b015421View commit details -
only check for newline instead of newline and carraiage return
Co-authored-by: Cristian Maglie <c.maglie@bug.st>
Configuration menu - View commit details
-
Copy full SHA for 578b2ec - Browse repository at this point
Copy the full SHA 578b2ecView commit details
Commits on Sep 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for eb474d2 - Browse repository at this point
Copy the full SHA eb474d2View commit details
Commits on Sep 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 00e63fc - Browse repository at this point
Copy the full SHA 00e63fcView commit details
Commits on Feb 15, 2021
-
Support arm64 which is used by the new lineup of computers from apple. Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>
Configuration menu - View commit details
-
Copy full SHA for 57b513a - Browse repository at this point
Copy the full SHA 57b513aView commit details
Commits on Feb 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for be77090 - Browse repository at this point
Copy the full SHA be77090View commit details -
Replace old mkwinsyscall call by the new version which is recommended by Go since version 1.13.3.
Configuration menu - View commit details
-
Copy full SHA for e18766f - Browse repository at this point
Copy the full SHA e18766fView commit details -
Added support for macosx 10.11+
Seems like, starting from 10.11, IOUSBDevice has been renamed to IOUSBHostDevice.
Configuration menu - View commit details
-
Copy full SHA for b62cd23 - Browse repository at this point
Copy the full SHA b62cd23View commit details -
Merge pull request #101 from cmaglie/big-sur-support
Added support for macosx 10.11+
Configuration menu - View commit details
-
Copy full SHA for b6c28f7 - Browse repository at this point
Copy the full SHA b6c28f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 233eb2a - Browse repository at this point
Copy the full SHA 233eb2aView commit details -
Merge pull request #102 from cmaglie/go-generate-rerun
Refresh run of go generate with the latest mksyscall
Configuration menu - View commit details
-
Copy full SHA for 388e793 - Browse repository at this point
Copy the full SHA 388e793View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7183520 - Browse repository at this point
Copy the full SHA 7183520View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57ac200 - Browse repository at this point
Copy the full SHA 57ac200View commit details -
Merge pull request #103 from cmaglie/windows-improve-usb-sernum-disc
Windows improve usb serial number discovery
Configuration menu - View commit details
-
Copy full SHA for 383ed1c - Browse repository at this point
Copy the full SHA 383ed1cView commit details
Commits on Jun 29, 2021
-
windows: correcly signal PortClosed error on blocked Read()
This commit fix regression test TestConcurrentReadAndWrite. Even if the test checks purpose is another it has detected anyway that the returned error is incorrect. Another specific test for closing port detection will be added in the future.
Configuration menu - View commit details
-
Copy full SHA for f355dbf - Browse repository at this point
Copy the full SHA f355dbfView commit details -
linux: detect port disconnection during Read
See https://stackoverflow.com/a/34945814/1655275 > pselect signals that file descriptor is ready and > ioctl(fd, FIONREAD, &len) returns zero len. Failure to detect this condition has been revealed by the testsuite: === RUN TestDisconnectingPortDetection 2017/07/27 13:56:37 PR - Connecting to Probe 2017/07/27 13:56:37 > Searching for port 2341:8037 2017/07/27 13:56:37 Detected port '/dev/ttyACM0' 2341:8037 2017/07/27 13:56:37 Using '/dev/ttyACM0' 2017/07/27 13:56:37 Starting test (timeout 20s) 2017/07/27 13:56:37 PR - Turn ON target 2017/07/27 13:56:37 TR - Connecting to Target 2017/07/27 13:56:37 > Searching for port 2341:8036 2017/07/27 13:56:37 Detected port '/dev/ttyACM0' 2341:8037 [...cut...] 2017/07/27 13:56:46 > Searching for port 2341:8036 2017/07/27 13:56:46 Detected port '/dev/ttyACM0' 2341:8037 2017/07/27 13:56:46 Detected port '/dev/ttyACM1' 2341:8036 2017/07/27 13:56:46 Using '/dev/ttyACM1' 2017/07/27 13:56:46 T2 - Make a Read call 2017/07/27 13:56:46 T1 - Delay 200ms before disconnecting target 2017/07/27 13:56:46 T1 - Disconnect target 2017/07/27 13:56:46 PR - Turn OFF target 2017/07/27 13:56:46 T2 - Read returned: n=0 err=nil --- FAIL: TestDisconnectingPortDetection (9.18s) Error Trace: serial_test.go:100 Error: An error is expected but got nil. %s Messages: Read returned no errors this commit fix the problem above.
Configuration menu - View commit details
-
Copy full SHA for a63b288 - Browse repository at this point
Copy the full SHA a63b288View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cb14f0 - Browse repository at this point
Copy the full SHA 2cb14f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23dbc8b - Browse repository at this point
Copy the full SHA 23dbc8bView commit details -
Merge pull request #109 from cmaglie/timeouts
Implementation of read timeouts
Configuration menu - View commit details
-
Copy full SHA for 01c367d - Browse repository at this point
Copy the full SHA 01c367dView commit details
Commits on Jun 30, 2021
-
Allow setting custom baudrates on serial ports (mac and linux version)
Co-authored-by: Jan-Philipp Benecke <github@bnck.me>
Configuration menu - View commit details
-
Copy full SHA for cff9b23 - Browse repository at this point
Copy the full SHA cff9b23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ed18bb - Browse repository at this point
Copy the full SHA 8ed18bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d74cb0 - Browse repository at this point
Copy the full SHA 9d74cb0View commit details
Commits on Jul 1, 2021
-
Merge pull request #111 from cmaglie/custom-baudrate
Allow to set non-standard baud rates
Configuration menu - View commit details
-
Copy full SHA for 13b6f1a - Browse repository at this point
Copy the full SHA 13b6f1aView commit details
Commits on Jul 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0213833 - Browse repository at this point
Copy the full SHA 0213833View commit details
Commits on Jul 20, 2021
-
Merge pull request #113 from cmaglie/fix-ppc64lebuild
Fixed build for linux/ppc64le
Configuration menu - View commit details
-
Copy full SHA for 37dba3a - Browse repository at this point
Copy the full SHA 37dba3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cebdc6 - Browse repository at this point
Copy the full SHA 9cebdc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for adc54fb - Browse repository at this point
Copy the full SHA adc54fbView commit details