Config.in 1.1 KB

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