aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Register N320 componentMartin Braun2019-01-211-1/+1
| | | | | | This will default to building the N320 driver. It replaces having to manually specify -DENABLE_N320=ON when depdendencies are met. This also means that N320 will be built by default.
* cmake: Update coding style to use lowercase commandsMartin Braun2018-11-141-81/+81
| | | | | | | | | | | | | | | | | Also updates our coding style file. Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code (with GNU compliant sed): cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done > convert.sed \ && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' \ '*CMakeLists.txt' | xargs -0 gsed -i -f convert.sed && rm convert.sed (Make sure the backslashes don't get mangled!)
* cmake: Change SOVERSION and VERSION for the library filesMartin Braun2018-10-291-2/+2
| | | | | | The SOVERSION will now match the ABI string, and the VERSION matches the full UHD version. This will allow easier parallel installation of multiple versions of UHD.
* rh: add support for rhodium devicesMark Meserve2018-10-251-1/+2
| | | | | | Co-authored-by: Humberto Jimenez <humberto.jimenez@ni.com> Co-authored-by: Alex Williams <alex.williams@ni.com> Co-authored-by: Derek Kozel <derek.kozel@ni.com>
* uhd-dpdk: Add DPDK-based sockets-like libraryAlex Williams2018-08-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This library makes available a userspace network stack with a socket-like interface for applications (except the sockets pass around pointers to buffers and use the buffers directly--It's sockets + a put/get for buffer management). Supported services are ARP and UDP. Destinations can be unicast or broadcast. Multicast is not currently supported. The implementation has two driver layers. The upper layer runs within the caller's context. The caller will make requests through lockless ring buffers (including socket creation and packet transmission), and the lower layer will implement the requests and provide a response. Currently, the lower layer runs in a separate I/O thread, and the caller will block until it receives a response. The I/O thread's main body is in src/uhd_dpdk_driver.c. You'll find that all I/O thread functions are prefixed by an underscore, and user thread functions do not. src/uhd_dpdk.c is used to initialize uhd-dpdk and bring up the network interfaces. src/uhd_dpdk_fops.c and src/uhd_dpdk_udp.c are for network services. The test is a benchmark of a flow control loop using a certain made-up protocol with credits and sequence number tracking.
* uhd: Define UHD_API as empty string when building static libCiro Nishiguchi2018-08-221-0/+1
| | | | | | | | | | Fixes #2484 When building uhd host as a static library on Windows, UHD_API is defined as __declspec(dllimport). This results in MSVC returning error C2491 during compilation. Added a preprocessor define UHD_STATIC_LIB in cmake and made the config headers set UHD_API to empty string when UHD_STATIC_LIB is defined.
* uhd: initial commit of UHD support for E320Brent Stapleton2018-07-181-0/+1
| | | | Co-authored-by: Sugandha Gupta <sugandha.gupta@ettus.com>
* cmake: Add ENABLE_N300 targetMartin Braun2018-06-111-0/+1
| | | | | | | | | | Driver support for N310/N300 was previously implied by ENABLE_MPMD, which had two issues: 1) It was not clear that ENABLE_MPMD was actually enabling the N3x0 2) It did not allow to enable mpmd support without N3x0 support This resolves these issues.
* uhd: Update license headersMartin Braun2018-02-191-0/+1
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Rename netd to mpmdMartin Braun2017-12-221-2/+2
|
* usrp: add netd find and impl, add uhd rpc client wrapperAndrej Rode2017-12-221-1/+7
|
* lib: Add non-public include directoryMartin Braun2017-12-221-0/+1
| | | | This is meant for headers that don't export symbols.
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* uhd: Removed drivers for E100/E110Martin Braun2017-09-291-1/+0
| | | | The E1x0 series is still supported on the 3.9 LTS branch.
* transport: Added liberio_zero_copy transport implementationMoritz Fischer2017-08-071-0/+2
| | | | | | | | | | | | This adds a zero copy transport using the liberio library. Currently supported API version for liberio is 0.3, this might still very much break, since the library is still in development. So far nobody uses it UHD so we might as well merge it. Signed-off-by: Alex Williams <alex.williams@ni.com> Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* calibration: generic containers for datasetsPaul David2016-11-291-0/+1
| | | | | | - Includes a container for power calibration data - Unit tests to check underlying container functionality - Nearest neighbor and bilinear interpolation
* cmake: Change version numbering to remove leading zerosMartin Braun2016-10-311-3/+3
|
* Merging RFNoC support for X310Martin Braun2016-08-091-1/+3
|
* Changing UHD's versioning systemNicholas Corgan2016-06-141-1/+2
| | | | * Version numbers now Major.API.ABI.Patch
* uhd: Added expert dependency tracking infrastructureAshish Chaudhari2016-02-121-0/+1
| | | | | | | - Code location uhd/lib/experts - expert_nodes.hpp contains all node definitions: data and worker - expert_container.hpp contains the memory manager and resolver for expert nodes - expert_factory contains the initializer and modifier for expert_container
* n230: Added N230 device supportAshish Chaudhari2016-01-051-0/+1
|
* Added uhd_config_info utilityNicholas Corgan2015-12-301-0/+11
|
* cmake: Register components earlierMartin Braun2015-11-161-1/+20
| | | | | | | | | | All device-specific CMake components are now registered in one place, before the host/lib/ subdirs are sourced. This way, there are no cyclic dependencies. This solves the issue where ENABLE_X300=Off could disable USB, but preserves the fix where ENABLE_X300=Off would still build some X300 codes.
* cmake: Proper selection of files for ENABLE_X300Martin Braun2015-10-261-1/+1
|
* uhd: C API wrapperNicholas Corgan2015-08-061-0/+6
| | | | | | | * multi_usrp, multi_usrp_clock, and associated classes accessible through C * Added Doxygen documentation explaining structure and API * Simple RX and TX streaming examples * Unit tests for different parts of C interface and C++ error conversion
* Added uhd::image_loader class and uhd_image_loader utilityNicholas Corgan2015-07-151-0/+1
| | | | | | * Single class for loading firmware/FPGA images onto devices instead of multiple utilities * Loading functions are registered for each device, corresponding to their --args="type=foo" name * Deprecation warnings added to all product-specific image loading utilities
* cmake: allow for custom DLL resource fileNicholas Corgan2015-06-221-1/+17
| | | | | * Use -DCUSTOM_RC_FILE=(filepath) option to use custom RC file * Defaults to host/lib/uhd.rc.in if none specified
* cmake: fixed setting RC_TRIMMED_VERSION_PATCHNicholas Corgan2015-01-301-1/+1
|
* cmake: Dev branches can get a named versionMartin Braun2015-01-281-0/+4
|
* cmake: Added ENABLE_STATIC_LIBS optionMartin Braun2015-01-191-1/+12
| | | | | | | - Allows building static libraries - For users calling find_package(UHD), provides extra options for building apps statically linking UHD. - Updated the init_usrp example to link UHD statically.
* OctoClock firmware upgrade, added host driverNicholas Corgan2014-07-231-1/+2
| | | | | | | | | | * OctoClock can communicate with UHD over Ethernet * Can read NMEA strings from GPSDO and send to host * Added multi_usrp_clock class for clock devices * uhd::device can now filter to return only USRP devices or clock devices * New OctoClock bootloader can accept firmware download over Ethernet * Added octoclock_burn_eeprom,octoclock_firmware_burner utilities * Added test_clock_synch example to show clock API
* uhd: added virtual destructors for several interface classesJosh Blum2013-07-151-1/+2
|
* Added CMake variables to customize builds to match Debian package configurationsNicholas Corgan2013-05-101-8/+12
| | | | | | * -DLIBUHD_PKG=ON installs with libuhd003 configuration * -DLIBUHDDEV_PKG=ON installs with libuhd-dev configuration * -DUHDHOST_PKG=ON installs with uhd-host configuration
* Added Windows DLL resource file to insert version into DLLNicholas Corgan2013-02-281-0/+12
|
* uhd: moved wax API into deprecated filesJosh Blum2011-11-031-1/+1
|
* uhd: change how we configure version.cppJosh Blum2011-10-251-5/+4
| | | | | | use configure_file vs defines, Possible fix for messaged up dependency/caching issue, see when changing CMakeLists, even in small ways.
* usrp2: moved impl back into usrp subdirJosh Blum2011-06-291-1/+0
|
* usrp2: fix for new props interfaceJosh Blum2011-06-281-1/+1
|
* uhd: re-work to make the properties easier to useJosh Blum2011-06-281-1/+1
|
* usrp2: work on setting up controllersJosh Blum2011-06-271-0/+1
|
* uhd: created a property tree to store propertiesJosh Blum2011-06-251-0/+1
|
* uhd: replace managed buffer shared pointer w/ intrusive pointer to reduce ↵Josh Blum2011-05-141-4/+0
| | | | overhead
* uhd: moved the logger into the utils subdirJosh Blum2011-05-041-1/+0
|
* uhd: work on the backend for a logging facilityJosh Blum2011-05-041-0/+1
|
* uhd: removed constants.hpp.in, replaced w/ per source compile definesJosh Blum2011-04-191-11/+6
|
* uhd: specify the UHD_PKG_DATA_PATH once (since images shipped w/ drivers)Josh Blum2011-04-141-13/+3
|
* uhd: set CPACK_PACKAGE_INSTALL_DIRECTORY on NSIS so we dont get an ↵Josh Blum2011-04-041-1/+1
| | | | inconsistent version suffix
* uhd: setup INSTALLER_PKG_DATA_DIR for windows systemsrelease_003_000_001Josh Blum2011-04-011-4/+10
|
* uhd: install dlls into runtime path, updated docsJosh Blum2011-04-011-1/+1
|
* uhd: revert VERSION setting for libuhd, macosx does not like patch levelJosh Blum2011-03-281-1/+1
|