Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lib: transport: apply clang-format | Brent Stapleton | 2019-01-18 | 1 | -145/+202 |
| | | | | | | | | | | This is a continuation of 967be2a4. $ find host/lib/transport -iname *.hpp -o -iname *.cpp |\ xargs clang-format -i -style=file Skipping host/lib/transport/nirio/ because of build errors. $ git checkout host/lib/transport/nirio | ||||
* | 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 |
| | |||||
* | logging: Demoted a number of DEBUG messages to TRACE | Martin Braun | 2017-04-05 | 1 | -3/+3 |
| | |||||
* | utils: introduce new logging API and remove msg API | Andrej Rode | 2017-02-20 | 1 | -8/+8 |
| | |||||
* | uhd: replace BOOST_FOREACH with C++11 range-based for loop | Andrej Rode | 2017-02-10 | 1 | -2/+1 |
| | | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development. | ||||
* | Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵ | Martin Braun | 2016-11-08 | 1 | -5/+5 |
| | | | | | | | | 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). | ||||
* | usb: tweak types for consistency between LIBUSB API calls and internal UHD ↵ | Michael Dickens | 2016-08-01 | 1 | -3/+3 |
| | | | | usage of returned values. | ||||
* | usb: add virtual destructors where needed; make virtual destructors ↵ | Michael Dickens | 2016-08-01 | 1 | -14/+42 |
| | | | | out-of-line from class definition to reduce number of vtables emitted (according to clang). | ||||
* | Fix for BUG 869: UHD: Unhandled exceptions during destruction of multi_usrp ↵ | michael-west | 2015-08-05 | 1 | -1/+12 |
| | | | | | | | object cause application to terminate - Prevented libusb_zero_copy_single from submitting transfers after libusb reports an error - Made error messages in libusb_zero_copy and udp_zero_copy more descriptive | ||||
* | b200: Change init sequence to catch bad USB states | Balint Seeber | 2015-08-03 | 1 | -0/+15 |
| | | | | | - Fixes USB hang issues on OS X - Uses usb_errors | ||||
* | Merge branch 'maint' | Ashish Chaudhari | 2015-04-23 | 1 | -0/+1 |
|\ | | | | | | | | | | | Conflicts: host/lib/usrp/b200/b200_impl.cpp host/lib/usrp/b200/b200_impl.hpp | ||||
| * | B200: UHD now detects loaded FW on NI-USRP devices | Ben Hilburn | 2015-04-15 | 1 | -0/+1 |
| | | | | | | | | | | Conflicts: host/lib/transport/libusb1_base.cpp | ||||
* | | Merge branch 'maint' | Martin Braun | 2015-03-27 | 1 | -2/+3 |
|\| | |||||
| * | usrp1: fixed check for loaded firmware | Nicholas Corgan | 2015-03-27 | 1 | -2/+3 |
| | | |||||
* | | Adding support for NI VID + PIDs for USRP B2xx devices. | Ben Hilburn | 2014-12-18 | 1 | -7/+13 |
|/ | |||||
* | Added missing pure virtual destructors to base classes | Nicholas Corgan | 2014-09-01 | 1 | -1/+25 |
| | |||||
* | usb: better processing of strings from libusb | Nicholas Corgan | 2014-02-14 | 1 | -1/+9 |
| | | | | | * When overwriting a string field with a shorter string, libusb doesn't erase extra characters * Extra processing of this string (already done by load_eeprom) removes extraneous characters | ||||
* | Merge branch 'bug182' | Nicholas Corgan | 2013-11-19 | 1 | -0/+4 |
|\ | |||||
| * | BUG #182: Refactored b2xx_fx3_utils to use files from UHD | Michael West | 2013-11-15 | 1 | -0/+4 |
| | | |||||
* | | BUG #183: B200 High CPU Usage: Created a single thread to handle libusb ↵ | Michael West | 2013-11-08 | 1 | -0/+19 |
|/ | | | | events and expanded packet size to 16k | ||||
* | usb: added logging capability w/ env var | Josh Blum | 2013-07-19 | 1 | -0/+10 |
| | |||||
* | usb: added timeout param and additional queries | Josh Blum | 2013-07-15 | 1 | -5/+18 |
| | |||||
* | usb: improve messages/logging for when the usb open fails | Josh Blum | 2011-10-24 | 1 | -1/+15 |
| | |||||
* | uhd: some tweaks to fix msvc warnings | Josh Blum | 2011-07-08 | 1 | -1/+1 |
| | |||||
* | uhd: replaced instanced of std::exception with the uhd exceptions | Josh Blum | 2011-02-24 | 1 | -4/+4 |
| | |||||
* | uhd: renamed the assert header to assert has | Josh Blum | 2011-02-24 | 1 | -1/+1 |
| | | | | | | | | only the assert has implementation is in this header uhd assert throw moved to the exception header updated code base includes to match | ||||
* | usb: moved event handler thread into the zero copy interface | Josh Blum | 2010-10-05 | 1 | -18/+0 |
| | |||||
* | usb: catch open errors and print message, device: catch exceptions at ↵ | Josh Blum | 2010-10-01 | 1 | -5/+11 |
| | | | | discovery time | ||||
* | usb: set rt thread priority for the libusb event loop | Josh Blum | 2010-09-30 | 1 | -0/+3 |
| | |||||
* | usb: zero copy work, multiple endpoints with single context, async io | Josh Blum | 2010-09-26 | 1 | -0/+16 |
| | | | | | | | | | Heavy work on the zero copy interface and endpoint wrappers to properly use the async io. The global libusb session starts a thread to run the event handler, the async callbacks push completed transfers onto a thread-safe bounded buffer. The managed buffer creation routines use the bounded buffer to efficiently pop off completed transfers. works on linux, throws a weird exception on cleanup | ||||
* | usb: work on libusb code to use a single context across all calls | Josh Blum | 2010-09-25 | 1 | -77/+212 |
| | | | | | | | | libusb allocation stuff had been moved inside of smart pointer classes to handle automatic cleanup the public device handle implementation now holds an actual libusb device inside of it needs testing - all platforms | ||||
* | usb: tweaks to usb code to cleanup properly and/or in error conditions | Josh Blum | 2010-09-24 | 1 | -10/+7 |
| | |||||
* | usrp1: fixes to remove warnings and errors for usrp1 + libusb windows | Josh Blum | 2010-09-23 | 1 | -1/+1 |
| | |||||
* | EEPROM burning in UHD. Changed some USB device handle stuff. Added ↵ | Nick Foster | 2010-08-31 | 1 | -44/+8 |
| | | | | usrp_init_eeprom.cpp. Hacked up the firmware makefile to behave and to generate .bin EEPROM images instead of IHX. | ||||
* | usrp1: Additional comments on libusb transport implemenation | Thomas Tsou | 2010-08-28 | 1 | -0/+12 |
| | |||||
* | usrp1: Cleanup libusb device handling | Thomas Tsou | 2010-08-27 | 1 | -9/+41 |
| | | | | | | | | This patch limits all libusb device enumeration operations to FSF (Vendor ID = 0xfffe) devices, which removes a lot of unncessary libusb output when debug mode is enabled. The reference counts held by the libusb device list are also reduced, which prevents holding references to unused devices. | ||||
* | usrp1: Modifiy USB transport implementations to use new interface | Thomas Tsou | 2010-08-26 | 1 | -0/+118 |
Common libusb1 code is consolidated in the libusb base file. |