1*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBIIO 2*4882a593Smuzhiyun bool "libiio" 3*4882a593Smuzhiyun select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND if !BR2_PACKAGE_LIBIIO_XML_BACKEND 4*4882a593Smuzhiyun help 5*4882a593Smuzhiyun Libiio is a library to ease the development of software 6*4882a593Smuzhiyun interfacing Linux Industrial I/O (IIO) devices. 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun http://wiki.analog.com/resources/tools-software/linux-software/libiio 9*4882a593Smuzhiyun 10*4882a593Smuzhiyunif BR2_PACKAGE_LIBIIO 11*4882a593Smuzhiyun 12*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBIIO_LOCAL_BACKEND 13*4882a593Smuzhiyun bool "Local backend" 14*4882a593Smuzhiyun default y 15*4882a593Smuzhiyun help 16*4882a593Smuzhiyun Enable the local backend of the library. 17*4882a593Smuzhiyun 18*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBIIO_XML_BACKEND 19*4882a593Smuzhiyun bool "XML backend" 20*4882a593Smuzhiyun default y 21*4882a593Smuzhiyun select BR2_PACKAGE_LIBXML2 22*4882a593Smuzhiyun help 23*4882a593Smuzhiyun Enable the XML backend of the library. 24*4882a593Smuzhiyun 25*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBIIO_NETWORK_BACKEND 26*4882a593Smuzhiyun bool "Network backend" 27*4882a593Smuzhiyun default y 28*4882a593Smuzhiyun select BR2_PACKAGE_LIBIIO_XML_BACKEND 29*4882a593Smuzhiyun help 30*4882a593Smuzhiyun Enable the network backend of the library. 31*4882a593Smuzhiyun 32*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBIIO_USB_BACKEND 33*4882a593Smuzhiyun bool "USB backend" 34*4882a593Smuzhiyun default y 35*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HAS_THREADS # from libusb 36*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb 37*4882a593Smuzhiyun select BR2_PACKAGE_LIBIIO_XML_BACKEND 38*4882a593Smuzhiyun select BR2_PACKAGE_LIBUSB 39*4882a593Smuzhiyun help 40*4882a593Smuzhiyun Enable the USB backend of the library. 41*4882a593Smuzhiyun 42*4882a593Smuzhiyuncomment "The USB backend needs a toolchain w/ threads, gcc >= 4.9" 43*4882a593Smuzhiyun depends on !BR2_TOOLCHAIN_HAS_THREADS || \ 44*4882a593Smuzhiyun !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 45*4882a593Smuzhiyun 46*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBIIO_SERIAL_BACKEND 47*4882a593Smuzhiyun bool "Serial backend" 48*4882a593Smuzhiyun default y 49*4882a593Smuzhiyun select BR2_PACKAGE_LIBIIO_XML_BACKEND 50*4882a593Smuzhiyun select BR2_PACKAGE_LIBSERIALPORT 51*4882a593Smuzhiyun help 52*4882a593Smuzhiyun Enable the serial backend of the library. 53*4882a593Smuzhiyun 54*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBIIO_IIOD 55*4882a593Smuzhiyun bool "IIO Daemon" 56*4882a593Smuzhiyun default y 57*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HAS_THREADS 58*4882a593Smuzhiyun select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND 59*4882a593Smuzhiyun help 60*4882a593Smuzhiyun Install the IIO Daemon. 61*4882a593Smuzhiyun 62*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBIIO_IIOD_USBD 63*4882a593Smuzhiyun bool "USB support in the IIO Daemon (FunctionFS)" 64*4882a593Smuzhiyun depends on BR2_PACKAGE_LIBIIO_IIOD 65*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # usb_functionfs_descs_head_v2 66*4882a593Smuzhiyun select BR2_PACKAGE_LIBAIO 67*4882a593Smuzhiyun help 68*4882a593Smuzhiyun Add support for USB through FunctionFS with IIOD. 69*4882a593Smuzhiyun 70*4882a593Smuzhiyuncomment "USB support in the IIO Daemon requires headers >= 3.18" 71*4882a593Smuzhiyun depends on BR2_PACKAGE_LIBIIO_IIOD 72*4882a593Smuzhiyun depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 73*4882a593Smuzhiyun 74*4882a593Smuzhiyuncomment "IIO Daemon needs a toolchain w/ threads" 75*4882a593Smuzhiyun depends on !BR2_TOOLCHAIN_HAS_THREADS 76*4882a593Smuzhiyun 77*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBIIO_TESTS 78*4882a593Smuzhiyun bool "Install test programs" 79*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HAS_THREADS 80*4882a593Smuzhiyun help 81*4882a593Smuzhiyun Install the test programs (iio_info, iio_genxml, iio_readdev). 82*4882a593Smuzhiyun 83*4882a593Smuzhiyuncomment "IIO test programs need a toolchain w/ threads" 84*4882a593Smuzhiyun depends on !BR2_TOOLCHAIN_HAS_THREADS 85*4882a593Smuzhiyun 86*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP 87*4882a593Smuzhiyun bool "Install C# bindings" 88*4882a593Smuzhiyun depends on BR2_PACKAGE_MONO 89*4882a593Smuzhiyun help 90*4882a593Smuzhiyun Install the C# bindings. 91*4882a593Smuzhiyun 92*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON 93*4882a593Smuzhiyun bool "Install Python bindings" 94*4882a593Smuzhiyun depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 95*4882a593Smuzhiyun help 96*4882a593Smuzhiyun Install the Python bindings. 97*4882a593Smuzhiyun 98*4882a593Smuzhiyunendif 99