2019-12-14 10:56:22 +00:00
|
|
|
// Copyright 2017 The Periph Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed under the Apache License, Version 2.0
|
|
|
|
// that can be found in the LICENSE file.
|
|
|
|
|
2021-09-01 19:41:28 +00:00
|
|
|
// +build cgo
|
|
|
|
// +build !darwin,!amd64
|
|
|
|
// +build !linux,!amd64
|
|
|
|
// +build !linux,!arm
|
|
|
|
// +build !windows
|
2021-09-11 18:52:44 +00:00
|
|
|
// +build !no_d2xx
|
2019-12-14 10:56:22 +00:00
|
|
|
|
2021-09-01 19:41:28 +00:00
|
|
|
package d2xx
|
2019-12-14 10:56:22 +00:00
|
|
|
|
2021-09-11 18:52:44 +00:00
|
|
|
// This assumes the library is installed and available for linking.
|
|
|
|
|
2021-09-01 19:41:28 +00:00
|
|
|
/*
|
|
|
|
#cgo LDFLAGS: -lftd2xx
|
|
|
|
*/
|
|
|
|
import "C"
|