aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_iface.cpp
Commit message (Collapse)AuthorAgeFilesLines
* host: Update code base using clang-tidyMartin Braun2021-03-041-18/+18
| | | | | | | | | The checks from the new clang-tidy file are applied to the source tree using: $ find . -name "*.cpp" | sort -u | xargs \ --max-procs 8 --max-args 1 clang-tidy --format-style=file \ --fix -p /path/to/compile_commands.json
* uhd: Apply clang-format against all .cpp and .hpp files in host/Martin Braun2020-03-031-205/+274
| | | | | Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against.
* uhd: Replace all occurrences of boost::bind with std::bindMartin Braun2019-11-261-12/+11
| | | | | | | | | | | | | | | | | | | | | Note: Replacing everything with a lambda would be even better, but that can't be easily scripted so we'll do this as a first step to reduce the Boost footprint. This also removes occurences of #include <boost/bind.hpp>, and makes sure all usages of std::bind have an #include <functional>. clang-format wasn't always applied to minimize the changeset in this commit, however, it was applied to the blocks of #includes. Due to conflicts with other Boost libraries, the placeholders _1, _2, etc. could not be directly used, but had to be explicitly called out (as std::placeholders::_1, etc.). This makes the use of std::bind even uglier, which serves as another reminder that using std::bind (and even more so, boost::bind) should be avoided. nirio/rpc/rpc_client.cpp still contains a reference to boost::bind. It was not possible to remove it by simply doing a search and replace, so it will be removed in a separate commit.
* lib: Purge all references to boost::this_thread::sleep()Martin Braun2018-04-301-2/+3
| | | | Replace with std::this_thread::sleep_for().
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | 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-221-12/+1
|
* uhd: Changed mboard_eeprom_t interface, refactored MB EEPROM codeMartin Braun2017-09-291-1/+1
| | | | | | | | | | | | - uhd::usrp::mboard_eeprom_t is now simply a map. Its commit() method has no utility being a public API call, because the user never gets access to the appropriate I2C object (Minor API breakage) - The central mboard_eeprom.cpp file was broken up and put into many smaller compilation units in every device's implementation folder. - Renamed some of the constants (e.g. B000_* -> USRP1_*, N100_* -> N200_*) - Removed the N000_* EEPROM code, because, well, you know, there's no such device
* utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-3/+3
|
* uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-101-1/+0
| | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* lib: Removed more superfluous variablesMartin Braun2016-11-281-1/+1
|
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-081-36/+36
| | | | | | | | 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).
* Added uhd::image_loader class and uhd_image_loader utilityNicholas Corgan2015-07-151-5/+5
| | | | | | * 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
* uhd: Add ability to get and set command time through dboard_iface.michael-west2015-04-031-1/+11
| | | | | This creates a wb_iface child class called timed_wb_iface, which adds support for timed commands.
* Warning fixesNicholas Corgan2015-03-271-6/+6
| | | | | | | * 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
* usrp2: fixed image compatibility error messageNicholas Corgan2015-02-161-1/+1
| | | | * Point to usrp2_card_burner_gui.py instead of usrp2_card_burner.py
* Merging new UHD_IMAGES_DIR utilities and bug fixes.Ben Hilburn2015-01-271-4/+4
| | | | Also includes NI-USRP Windows Registry Key fixes.
* usrp2: fixed usrp2_card_burner.py and usrp_n2xx_simple_net_burner paths in ↵Nicholas Corgan2014-05-061-3/+4
| | | | incompatibility error messages
* Merging USRP X300 and X310 support!!Ben Hilburn2014-02-041-29/+3
|
* Squashed merge of Coverity fixes.Ben Hilburn2013-11-271-1/+1
|
* uhd: allow for 16 bit i2c and eeprom addrsJosh Blum2013-07-241-2/+2
|
* utils: USRP N2XX Simple Net BurnerNicholas Corgan2012-10-101-4/+3
| | | | | * More automated C++ implementation of usrp_n2xx_net_burner.py * By default, installs images from standard image install directories
* lib: FW/FPGA compatibility error prompts user to use regular card/net burner ↵Nicholas Corgan2012-07-061-2/+2
| | | | instead of gui
* usrp2: created fw peek/poke functionsJosh Blum2012-06-181-5/+15
|
* utils: UHD Image Downloader - downloads firmware/FPGA images compatible with ↵Nicholas Corgan2012-06-071-10/+14
| | | | the current host code and places them in the images directory
* usrp: mboard eeprom map use string as keyJosh Blum2012-05-141-1/+2
|
* usrp2: burner print, escapes and quotes for cross-platformJosh Blum2012-05-111-2/+9
|
* usrp2: print helpful message with burner commandJosh Blum2012-05-111-2/+49
|
* mboard id's are now more concise (codenames are separated, for example), and ↵Nicholas Corgan2012-04-201-8/+8
| | | | dboard subdev names are more descriptive (RFX RX is now RFX1200 RX, etc)
* usrp2: device locking tweaksJosh Blum2012-02-291-9/+6
| | | | | | | 1) use bottom bit for force lock condition, that way we never check the time after proper shutdown 2) dont allow lock condition under fpga compat mismatch
* usrp2: some tweaks to the device locking logicJosh Blum2012-02-201-6/+9
|
* usrp2: added retry logic to control packetsJosh Blum2012-02-201-2/+32
|
* uhd: various tweaks for compiler warns and valgrindJosh Blum2012-02-091-5/+8
|
* dsp rework: implement 64 bit ticks, no secondsJosh Blum2012-02-061-2/+2
|
* uhd: useful tweaks from userJosh Blum2011-11-081-1/+1
|
* Fix for unitialized eepromJason Abele2011-10-121-1/+3
|
* usrp: added product and revision fields to eepromJosh Blum2011-10-101-1/+1
|
* usrp2: give users a warning for gpsdo support + fw updateJosh Blum2011-09-281-0/+7
|
* usrp2: allow backwards compat with previous fwJosh Blum2011-09-281-1/+1
| | | | | You only need the newer fw for uart streaming. This is needed only if you use an internal gpsdo.
* usrp2: uart/udp work in host and fw, workingJosh Blum2011-09-281-60/+0
|
* usrp2: made iface deconstructor safe (unlock can throw)Josh Blum2011-08-311-2/+3
|
* usrp2: fix unintended change in last commitJosh Blum2011-07-261-1/+1
|
* uhd: exit task on the catch-all exceptions, and dont print anythingJosh Blum2011-07-251-3/+1
|
* usrp2: workaround for older boost thread sleepJosh Blum2011-07-201-0/+2
|
* usrp2: added fw minor and moved ICMP dest error handling to txrx appJosh Blum2011-07-181-4/+5
|
* uhd: added tasks to simplify thread spawning use casesJosh Blum2011-07-131-31/+13
|
* usrp2: moved impl back into usrp subdirJosh Blum2011-06-291-5/+5
|
* usrp2: init the usrp2_ctrl_data_t to make valgrind happyJosh Blum2011-06-241-6/+6
|
* N210: stop sending 1 char at a time to the GPSDONick Foster2011-06-141-1/+1
|
* usrp2: catch exceptions thrown in locker loop (like the user unplugs device)Josh Blum2011-06-011-4/+12
|
* N210: changes for rev 4 supportNick Foster2011-05-181-0/+4
|