2014-08-27 12:18:29 +02:00
|
|
|
config BR2_PACKAGE_LIBPHIDGET
|
|
|
|
bool "libphidget"
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2014-08-27 12:18:29 +02:00
|
|
|
select BR2_PACKAGE_LIBUSB
|
|
|
|
help
|
2017-07-31 15:53:50 +02:00
|
|
|
The libphidget library provides an API for controlling
|
|
|
|
Phidgets USB devices. The library translates API function
|
|
|
|
calls to libusb function calls to control attached Phidgets
|
|
|
|
devices that provide GPIO's, DAC's, accelerometers, servo
|
|
|
|
motors, and other capabilities either singly or on combo
|
|
|
|
devices.
|
2014-08-27 12:18:29 +02:00
|
|
|
|
|
|
|
To use libphidget for controlling locally attached devices you
|
|
|
|
need to set up the userspace USB device tree /dev/bus/usb. See
|
|
|
|
file udev/99-phidgets.rules.
|
|
|
|
|
2017-07-31 15:53:50 +02:00
|
|
|
The libphidget library also contains an API for sending
|
|
|
|
commands to a local or remote phidgetwebservice using HTTP.
|
|
|
|
The phidgetwebservice then translates HTTP requests to
|
|
|
|
libphidget API function calls to control locally attached
|
|
|
|
Phidgets devices.
|
2014-08-27 12:18:29 +02:00
|
|
|
|
|
|
|
http://phidgets.com/
|
|
|
|
|
2014-09-02 02:16:51 +02:00
|
|
|
comment "libphidget needs a toolchain w/ threads, dynamic library"
|
2014-08-27 12:18:29 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on BR2_STATIC_LIBS
|