Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | host: Update code base using clang-tidy | Martin Braun | 2021-03-04 | 1 | -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 Braun | 2020-03-03 | 1 | -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::bind | Martin Braun | 2019-11-26 | 1 | -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 Braun | 2018-04-30 | 1 | -2/+3 |
| | | | | Replace with std::this_thread::sleep_for(). | ||||
* | uhd: Update license headers | Martin Braun | 2018-02-19 | 1 | -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 Braun | 2017-12-22 | 1 | -12/+1 |
| | |||||
* | uhd: Changed mboard_eeprom_t interface, refactored MB EEPROM code | Martin Braun | 2017-09-29 | 1 | -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 API | Andrej Rode | 2017-02-20 | 1 | -3/+3 |
| | |||||
* | uhd: replace BOOST_FOREACH with C++11 range-based for loop | Andrej Rode | 2017-02-10 | 1 | -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 variables | Martin Braun | 2016-11-28 | 1 | -1/+1 |
| | |||||
* | Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵ | Martin Braun | 2016-11-08 | 1 | -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 utility | Nicholas Corgan | 2015-07-15 | 1 | -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-west | 2015-04-03 | 1 | -1/+11 |
| | | | | | This creates a wb_iface child class called timed_wb_iface, which adds support for timed commands. | ||||
* | Warning fixes | Nicholas Corgan | 2015-03-27 | 1 | -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 message | Nicholas Corgan | 2015-02-16 | 1 | -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 Hilburn | 2015-01-27 | 1 | -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 Corgan | 2014-05-06 | 1 | -3/+4 |
| | | | | incompatibility error messages | ||||
* | Merging USRP X300 and X310 support!! | Ben Hilburn | 2014-02-04 | 1 | -29/+3 |
| | |||||
* | Squashed merge of Coverity fixes. | Ben Hilburn | 2013-11-27 | 1 | -1/+1 |
| | |||||
* | uhd: allow for 16 bit i2c and eeprom addrs | Josh Blum | 2013-07-24 | 1 | -2/+2 |
| | |||||
* | utils: USRP N2XX Simple Net Burner | Nicholas Corgan | 2012-10-10 | 1 | -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 Corgan | 2012-07-06 | 1 | -2/+2 |
| | | | | instead of gui | ||||
* | usrp2: created fw peek/poke functions | Josh Blum | 2012-06-18 | 1 | -5/+15 |
| | |||||
* | utils: UHD Image Downloader - downloads firmware/FPGA images compatible with ↵ | Nicholas Corgan | 2012-06-07 | 1 | -10/+14 |
| | | | | the current host code and places them in the images directory | ||||
* | usrp: mboard eeprom map use string as key | Josh Blum | 2012-05-14 | 1 | -1/+2 |
| | |||||
* | usrp2: burner print, escapes and quotes for cross-platform | Josh Blum | 2012-05-11 | 1 | -2/+9 |
| | |||||
* | usrp2: print helpful message with burner command | Josh Blum | 2012-05-11 | 1 | -2/+49 |
| | |||||
* | mboard id's are now more concise (codenames are separated, for example), and ↵ | Nicholas Corgan | 2012-04-20 | 1 | -8/+8 |
| | | | | dboard subdev names are more descriptive (RFX RX is now RFX1200 RX, etc) | ||||
* | usrp2: device locking tweaks | Josh Blum | 2012-02-29 | 1 | -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 logic | Josh Blum | 2012-02-20 | 1 | -6/+9 |
| | |||||
* | usrp2: added retry logic to control packets | Josh Blum | 2012-02-20 | 1 | -2/+32 |
| | |||||
* | uhd: various tweaks for compiler warns and valgrind | Josh Blum | 2012-02-09 | 1 | -5/+8 |
| | |||||
* | dsp rework: implement 64 bit ticks, no seconds | Josh Blum | 2012-02-06 | 1 | -2/+2 |
| | |||||
* | uhd: useful tweaks from user | Josh Blum | 2011-11-08 | 1 | -1/+1 |
| | |||||
* | Fix for unitialized eeprom | Jason Abele | 2011-10-12 | 1 | -1/+3 |
| | |||||
* | usrp: added product and revision fields to eeprom | Josh Blum | 2011-10-10 | 1 | -1/+1 |
| | |||||
* | usrp2: give users a warning for gpsdo support + fw update | Josh Blum | 2011-09-28 | 1 | -0/+7 |
| | |||||
* | usrp2: allow backwards compat with previous fw | Josh Blum | 2011-09-28 | 1 | -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, working | Josh Blum | 2011-09-28 | 1 | -60/+0 |
| | |||||
* | usrp2: made iface deconstructor safe (unlock can throw) | Josh Blum | 2011-08-31 | 1 | -2/+3 |
| | |||||
* | usrp2: fix unintended change in last commit | Josh Blum | 2011-07-26 | 1 | -1/+1 |
| | |||||
* | uhd: exit task on the catch-all exceptions, and dont print anything | Josh Blum | 2011-07-25 | 1 | -3/+1 |
| | |||||
* | usrp2: workaround for older boost thread sleep | Josh Blum | 2011-07-20 | 1 | -0/+2 |
| | |||||
* | usrp2: added fw minor and moved ICMP dest error handling to txrx app | Josh Blum | 2011-07-18 | 1 | -4/+5 |
| | |||||
* | uhd: added tasks to simplify thread spawning use cases | Josh Blum | 2011-07-13 | 1 | -31/+13 |
| | |||||
* | usrp2: moved impl back into usrp subdir | Josh Blum | 2011-06-29 | 1 | -5/+5 |
| | |||||
* | usrp2: init the usrp2_ctrl_data_t to make valgrind happy | Josh Blum | 2011-06-24 | 1 | -6/+6 |
| | |||||
* | N210: stop sending 1 char at a time to the GPSDO | Nick Foster | 2011-06-14 | 1 | -1/+1 |
| | |||||
* | usrp2: catch exceptions thrown in locker loop (like the user unplugs device) | Josh Blum | 2011-06-01 | 1 | -4/+12 |
| | |||||
* | N210: changes for rev 4 support | Nick Foster | 2011-05-18 | 1 | -0/+4 |
| |