aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/b100/b100_impl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* lib: disable non pcie types in find with resourceSteven Koo2020-10-051-1/+7
| | | | | | | mpmd find doesn't respect the "resource" arg hint and can be detected when "resource" is set. This results in incorrect device selection when using PCIe. This change adds detection for "resource" as a prefix in the device hints for mpmd and the other devices.
* uhd: clang format device implSteven Koo2020-10-051-1/+1
|
* uhd: Apply clang-format against all .cpp and .hpp files in host/Martin Braun2020-03-031-239/+307
| | | | | 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-49/+50
| | | | | | | | | | | | | | | | | | | | | 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.
* b100: Remove some references to boost::assign and Boost time objectsMartin Braun2018-04-171-16/+23
|
* uhd: Move internal headers to uhdlib/Martin Braun2018-03-141-1/+1
| | | | | | | | | | | | | | | | To avoid the proliferation of additional include directories and multiple ways of including project-local headers, we now default to moving all headers that are used across UHD into the uhdlib/ subdirectory. Some #include statements were also reordered as they were modified for closer compliance with the coding guidelines. Internal cpp source files should now include files like this: #include <uhdlib/rfnoc/ctrl_iface.hpp> Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
* 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
|
* UBX: Add support for UBX-TDDmichael-west2017-12-071-2/+2
|
* UHD: Add eeprom info to dboard_basemichael-west2017-12-071-2/+2
|
* uhd: Changed mboard_eeprom_t interface, refactored MB EEPROM codeMartin Braun2017-09-291-6/+3
| | | | | | | | | | | | - 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
* uhd: Replaced many lexical_cast with appropriate C++11 equivalentsMartin Braun2017-06-291-1/+0
|
* utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-7/+7
|
* uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-101-7/+7
| | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* b100: Removed superfluous FX2 vid/pidMartin Braun2016-11-281-2/+0
|
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-081-11/+11
| | | | | | | | 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).
* dboard: Added restricted dboard registration capabilityAshish Chaudhari2016-02-161-3/+2
| | | | | | - Moved dboard iface initialization to dboard_manager - Added a restricted register function. Restricted dboards don't expose their control iface in the property tree
* prop_tree: Multiple API enhancements to uhd::propertyAshish Chaudhari2016-02-111-47/+47
| | | | | | | | | - Added desired and coerced values and accessors to property - Added support to register desired subscribers - set APIs don't reallocate storage for a property value - Renamed callback method registration APIs - Registering 2 coercers or publishers for a property will throw - Registering a coercer and a publisher for the same property will throw
* Merging new UHD_IMAGES_DIR utilities and bug fixes.Ben Hilburn2015-01-271-5/+5
| | | | Also includes NI-USRP Windows Registry Key fixes.
* Give user the option to ignore daughterboard's calibration file at runtimeNicholas Corgan2014-09-021-2/+7
| | | | | * Add "ignore-cal-file" to the uhd::device_addr_t arguments * Added documentation for new feature
* OctoClock firmware upgrade, added host driverNicholas Corgan2014-07-231-2/+3
| | | | | | | | | | * 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
* Merge branch 'origin/b200/issue_418'Ben Hilburn2014-04-101-3/+4
|\ | | | | | | Fixing unsafe sscanf call.
| * b100+b200+usrp1: removed potentially unsafe sscanf callMartin Braun2014-04-101-3/+4
| |
* | uhd: Added max link rate info for usrp1, usrp2 and b100Martin Braun2014-04-101-0/+1
|/
* Merging USRP X300 and X310 support!!Ben Hilburn2014-02-041-3/+3
|
* BUG #203: Initialized gain values to 0.0Michael West2013-11-081-2/+4
|
* b100: reset fx2 on ctrl xport failJosh Blum2013-08-131-6/+21
|
* b100: moved usb wrapper class into b100 implJosh Blum2013-07-191-2/+2
| | | | * since its only used internally in b100
* b100: switch to new packet demuxerJosh Blum2013-07-151-1/+1
|
* b100: added fw version property to queryJosh Blum2013-02-131-0/+1
|
* Merge branch 'maint34' into maintNicholas Corgan2012-11-161-3/+0
|\ | | | | | | | | | | Conflicts: host/lib/usrp/b100/b100_impl.cpp host/lib/usrp/usrp1/usrp1_impl.hpp
| * lib/cmake: CPack source workNicholas Corgan2012-11-161-3/+0
| | | | | | | | | | * Removed all host code dependencies on firmware headers * Put in CMake settings for CPack source
* | lfrx: disable dc offset correction when using LFRXJosh Blum2012-09-281-0/+3
| |
* | b100/e100: clock source option for pps phase sync abuseJosh Blum2012-07-191-0/+13
| |
* | b100: squashed host code for fifo control/timed commandsJosh Blum2012-07-021-37/+54
| | | | | | | | | | This uses the new b100/e100 common core and FIFO control modules. Subsequent commit will be the compatible FPGA merge.
* | utils: UHD Image Downloader - downloads firmware/FPGA images compatible with ↵Nicholas Corgan2012-06-071-8/+8
| | | | | | | | the current host code and places them in the images directory
* | usrp: mboard eeprom map use string as keyJosh Blum2012-05-141-3/+3
| |
* | mboard id's are now more concise (codenames are separated, for example), and ↵Nicholas Corgan2012-04-201-1/+2
|/ | | | dboard subdev names are more descriptive (RFX RX is now RFX1200 RX, etc)
* B100: enable_gpif(0) disables FIFO output clock on FX2. this prevents the ↵Nick Foster2012-03-161-2/+2
| | | | "stuffing zeroes" problem and improves transport reliability.
* usrp: fix from "rev iq correction"Josh Blum2012-03-161-2/+2
| | | | Must zero out the default IQ correction to have zero effect by default.
* usrp: reset cordics on init after tick rate updateJosh Blum2012-02-281-0/+8
|
* uhd: fixed some compile warnings for msvcJosh Blum2012-02-281-1/+1
|
* b100: reset/reenumerate fx2 for bad endpoint stateJosh Blum2012-02-141-0/+19
| | | | | | Determine state of control endpoint, re-enumerate to put in a known state, rerun some initialization code.
* b100: added transport flushes and moved around reset codeJosh Blum2012-02-141-11/+4
|
* B100: Firmware reset tweaks.Nick Foster2012-02-091-1/+1
|
* dsp rework: implement 64 bit ticks, no secondsJosh Blum2012-02-061-4/+4
|
* B100: use FPGA external reset on initNick Foster2012-02-061-0/+6
|
* dsp rework: work on usb wrapper for smaller packets, large lutsJosh Blum2012-02-021-2/+3
|
* gen2: added user setting regs api and user coreJosh Blum2012-01-311-0/+7
|
* usrp1/b100: reenumeration loop with timeout only when foundJosh Blum2012-01-271-1/+3
|