xref: /OK3568_Linux_fs/buildroot/package/libphidget/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBPHIDGET
2*4882a593Smuzhiyun	bool "libphidget"
3*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
4*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
5*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS
6*4882a593Smuzhiyun	select BR2_PACKAGE_LIBUSB
7*4882a593Smuzhiyun	help
8*4882a593Smuzhiyun	  The libphidget library provides an API for controlling
9*4882a593Smuzhiyun	  Phidgets USB devices. The library translates API function
10*4882a593Smuzhiyun	  calls to libusb function calls to control attached Phidgets
11*4882a593Smuzhiyun	  devices that provide GPIO's, DAC's, accelerometers, servo
12*4882a593Smuzhiyun	  motors, and other capabilities either singly or on combo
13*4882a593Smuzhiyun	  devices.
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun	  To use libphidget for controlling locally attached devices you
16*4882a593Smuzhiyun	  need to set up the userspace USB device tree /dev/bus/usb. See
17*4882a593Smuzhiyun	  file udev/99-phidgets.rules.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun	  The libphidget library also contains an API for sending
20*4882a593Smuzhiyun	  commands to a local or remote phidgetwebservice using HTTP.
21*4882a593Smuzhiyun	  The phidgetwebservice then translates HTTP requests to
22*4882a593Smuzhiyun	  libphidget API function calls to control locally attached
23*4882a593Smuzhiyun	  Phidgets devices.
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun	  http://phidgets.com/
26*4882a593Smuzhiyun
27*4882a593Smuzhiyuncomment "libphidget needs a toolchain w/ threads, dynamic library, gcc >= 4.9"
28*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
29*4882a593Smuzhiyun		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
30