aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/nirio
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Update coding style to use lowercase commandsMartin Braun2018-11-142-20/+20
| | | | | | | | | | | | | | | | | 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!)
* nirio: Demote RPC client cancel/abort to TRACEMartin Braun2018-08-211-1/+1
| | | | | | This is a common message that will always occur during device init when there is no RIO device available. Because it looks like an error, it confuses people and was thus reduced to TRACE.
* lib: Purge all references to boost::this_thread::sleep()Martin Braun2018-04-301-1/+1
| | | | Replace with std::this_thread::sleep_for().
* lib: Unbreak build against Boost 1.67Jan Beich2018-04-181-1/+1
| | | | | Some uses of boost::posix_time were incorrect and would cause compiler errors on Boost 1.67.
* niusrprio: Move a const from header to implMartin Braun2018-04-181-0/+5
| | | | This avoids having to redeclare the static const to avoid linker errors.
* x300: Replace all references to boost::this_thread::sleep()Martin Braun2018-04-171-1/+4
| | | | Use std::this_thread::sleep_for() instead.
* niusrprio: Refactor niusrprio_session, move out static constsMartin Braun2018-04-171-3/+7
| | | | | | Static const attributes were causing linker issues the way there were being used, but they were only used in niusrprio_session.cpp and thus could be factored out.
* x300: improve lvbitx bitstream md5 read timeMark Meserve2018-03-131-10/+20
| | | | | - Reading line by line avoids loading the entire 25 MB bitstream into memory since the MD5 hash usually occurs within the first 1% of the file stream
* uhd: Update license headersMartin Braun2018-02-1916-13/+29
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Move all license headers to SPDX format.Martin Braun2017-12-2216-192/+16
|
* uhd: Replaced many lexical_cast with appropriate C++11 equivalentsMartin Braun2017-06-291-1/+0
|
* logging: Demoted a number of DEBUG messages to TRACEMartin Braun2017-04-051-3/+3
|
* Merge branch 'maint'Martin Braun2017-03-311-7/+7
|\
| * NI-RIO: FIFO management optimizations for PCIe performancePatrick Sisterhen2017-03-291-7/+7
| | | | | | | | | | | | | | Pre-acquiring as much buffer as possible When acquiring during a streaming operation, acquire a minimum amount (frame size) or the amount we know is acquire-able Adding docstrings to nirio_fifo Making const-qualifying consistent
* | utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-11/+11
|/
* transport: Removed some superfluous variablesMartin Braun2016-11-281-5/+5
|
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-083-17/+17
| | | | | | | | types) - Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be <cstdint>, but not all of our compilers support that).
* CMake: fix the lvbitx path on windowsPaul David2016-10-261-6/+6
|
* Updated code to work for new minimum dependenciesNicholas Corgan2016-03-211-22/+2
| | | | | * Removed code referencing now-unsupported versions of Boost * Added <stdint.h> includes where needed
* Merge branch 'maint'Martin Braun2016-03-111-2/+2
|\
| * Fixed minor warnings:Nicholas Corgan2016-03-041-2/+2
| | | | | | | | | | | | * nirio_driver_iface_win: labeled unused variable for MinGW builds * b200_impl: fixed unreferenced variable warning * n200_image_loader: fixed signed vs. unsigned comparison
* | cmake: Proper selection of files for ENABLE_X300Martin Braun2015-10-261-2/+3
|/
* Fixed minor warningsNicholas Corgan2015-09-011-3/+2
| | | | | | * Unreferenced exceptions in try-catch statements * Incorrect function documentation * Unlabelled unused variables
* nirio: Changes to kernel proxy to work with RIO 15.0 on linuxAshish Chaudhari2015-08-143-46/+655
| | | | | - Implemented IOCTL macro for linux and macosx - Refactored v1 and v2 proxy code
* Fixed minor warningsNicholas Corgan2015-07-241-1/+1
|
* build: Python 3 compatibility for build scriptsNicholas Corgan2015-07-141-8/+8
|
* Merge branch 'maint'Martin Braun2015-03-271-17/+17
|\
| * Warning fixesNicholas Corgan2015-03-275-35/+41
| | | | | | | | | | | | | | * CMake now not applying C++ flags to C files * GCC 4.4: anti-aliasing rules * MSVC: narrowing, differences in subclass function parameters * Clang: uninitialized variables
* | nirio: hopefully fix #pragma declarations; "push" and "pop" introduced in ↵Michael Dickens2015-03-114-18/+24
| | | | | | | | GCC 4.6; works with all clang.
* | nirio: when unsupported, comment out unused variables.Michael Dickens2015-03-111-16/+16
| |
* | Merge branch 'maint' into masterBen Hilburn2015-01-283-111/+5
|\| | | | | | | | | | | | | | | | | Resolved Conflicts: host/docs/usrp_e3x0.dox host/include/uhd/utils/paths.hpp host/lib/transport/nirio/nifpga_lvbitx.cpp host/lib/usrp/b200/b200_impl.cpp host/lib/utils/paths.cpp
| * Merging new UHD_IMAGES_DIR utilities and bug fixes.Ben Hilburn2015-01-273-111/+5
| | | | | | | | Also includes NI-USRP Windows Registry Key fixes.
* | Added support for MinGW cross-compileNicholas Corgan2015-01-131-1/+1
| | | | | | | | | | | | * Added CMake toolchain file, compatible with different versions * No dependency on MinGW runtime, all statically linked * Misc coding tweaks to allow MinGW to compile
* | x300: support new 120 MHz bandwidth versions of the NI-branded X310sBrooks2014-12-221-1/+1
|/
* nirio: Address linking issues on OSXMartin Braun2014-12-151-3/+4
|
* nirio: Made new nirio iface code compile with GCCAshish Chaudhari2014-10-102-13/+12
| | | | - Addressed GCC specific errors and warnings
* x300,nirio: Added support for NI-RIO 14.0Ashish Chaudhari2014-10-108-305/+1236
| | | | | | | | | - Split niriok_proxy interfaces to support NI-RIO <=13.0 and >=14.0 kernel interfaces - Fixed multi-session race conditions by synchronizing niriok_proxy access - Fixed bug switching from NI LV-FPGA access to UHD access by changing how devices are hashed into a reservation table - Fixed calculation of FRAC values for CBX and SBX LO tuning by rounding instead of truncating - Fixed bug that was not setting two MSBs for band select configuration of CBX LO - Submitting on behalf of Patrick Sisterhen, Matthew Crymble
* x300: Bugfix#602: X3x0 not found over PCIe with no Eth interfacesAshish Chaudhari2014-10-091-1/+6
| | | | - X3x0 not found over PCIe when only a loopback network interface exists on the host
* BUG #465: UHD: "Error: Connection refused" for USRP1 and B100michael-west2014-05-141-0/+5
| | | | - Added catch for unhandled error
* x300: Fixed DMA busy logic after review feedback.Ashish Chaudhari2014-04-281-1/+1
|
* x300: Addressed review feedbackAshish Chaudhari2014-04-251-1/+0
| | | | | - Fixed synchronization for unclaim - Removed stray RIO addr space set
* x300: Cleanup for PCIe flushingAshish Chaudhari2014-04-241-14/+14
|
* x300: Added hardware flush mechanism to PCIe logic.Ashish Chaudhari2014-04-242-0/+68
| | | | | - Added DMA enabled states to DMA logic to allow for hardware data flushing during init. - niusrprio_session will now check for FPGA busy before downloading
* x300: add UHD_IMAGES_DIR to list of directories searched for LVBITX filesNicholas Corgan2014-04-081-0/+16
|
* nirio: improved dealing with unsupported OS'sNicholas Corgan2014-03-272-6/+4
| | | | | * Instead of specifically checking for Apple, default to unsupported iface file if unsupported OS is detected * Don't error out if we can't catch a specific unsupported OS, just use barebones "unsupported" structs
* Added handling for responses that do not have data.michael-west2014-03-131-11/+14
|
* Added assertion to make sure we are resizing buffer to a value >0.michael-west2014-03-111-0/+2
|
* Fix for Bug #378: rpc_client::call() dereferences NULL pointersmichael-west2014-03-071-3/+6
| | | | - Added check for empty data before write
* rpc: Make usrp3 compile again on RHEL6.Moritz2014-02-261-9/+27
| | | | | | | | | | * boost::asio::connect appears in boost 1.47 added conditional for older machines * boost::system::get_system_category() instead of boost::system::system_category. Signed-off-by: Moritz <moritz@ettus.com>
* Merging USRP X300 and X310 support!!Ben Hilburn2014-02-0418-0/+2963