aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/b200/b200_impl.hpp
Commit message (Collapse)AuthorAgeFilesLines
* uhd: Replace usage of boost smart pointers with C++11 counterpartsMartin Braun2019-11-261-11/+11
| | | | | | | | | | | | | | | | | | | This removes the following Boost constructs: - boost::shared_ptr, boost::weak_ptr - boost::enable_shared_from_this - boost::static_pointer_cast, boost::dynamic_pointer_cast The appropriate includes were also removed. All C++11 versions of these require #include <memory>. Note that the stdlib and Boost versions have the exact same syntax, they only differ in the namespace (boost vs. std). The modifications were all done using sed, with the exception of boost::scoped_ptr, which was replaced by std::unique_ptr. References to boost::smart_ptr were also removed. boost::intrusive_ptr is not removed in this commit, since it does not have a 1:1 mapping to a C++11 construct.
* uhd: Remove deprecated objects and methodsMartin Braun2019-11-261-1/+0
| | | | | | | | | This removes the following symbols: - otw_type_t - clock_config_t - Any functions that use those symbols - Non-standard args from examples (e.g., --total-time is deprecated in favour of --duration)
* b200_cores: Replace usage of boost::mutex with std::mutexMartin Braun2019-02-151-1/+2
|
* b200: Fix compiler warnings related to type conversionsMartin Braun2019-01-071-2/+2
| | | | | | | These compiler warnings mostly pop up on MSVC. Most of them are due to inconsistent usage of size_t, uint{8,16,32}_t, and even int. This commit changes types mostly such that variables have the correct type to begin with, although it also contains a few explicit type-casts.
* B200: Restore asynchronous reset of AD936x.michael-west2018-10-171-3/+5
|
* b200: Enable access to user regs via the 'enable_user_regs' argMartin Braun2018-08-161-0/+5
|
* fixup! B200: Check if recv_frame_size is larger than minimum valuemichael-west2018-07-131-0/+1
|
* b200: Update FW and FPGA imagesMartin Braun2018-07-121-2/+2
| | | | | FPGA compat number bumped to 15. This includes fixes to resolve the "lost EOB" issue on B2xx.
* B200: Check if recv_frame_size is larger than minimum valueVidush2018-07-121-0/+2
|
* B200: Change Recv Frame Size to 8176Vidush2018-07-121-0/+3
| | | | | | | | The default frame size is set to 8176. If a frame size entered is a multiple of 512, the actual frame size is set to the next lowest multiple of 24. Both changes are made to ensure no packet gets stuck in the fx3.
* uhd: Move internal headers to uhdlib/Martin Braun2018-03-141-11/+12
| | | | | | | | | | | | | | | | 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
|
* uhd: Changed mboard_eeprom_t interface, refactored MB EEPROM codeMartin Braun2017-09-291-0/+2
| | | | | | | | | | | | - 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
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-081-20/+20
| | | | | | | | 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).
* Revert "B200: Adding separate B200 radio control code"Martin Braun2016-08-231-5/+5
| | | | This reverts commit 5d360ab43eca63e3f12f0e5abde5a3186b7f12dc.
* B200: Adding separate B200 radio control codemichael-west2016-07-221-5/+5
|
* Merge branch 'maint'Martin Braun2016-06-231-0/+8
|\ | | | | | | | | Conflicts: host/lib/usrp/b200/b200_impl.cpp
| * b200: Update DSPs after changing tick rateMartin Braun2016-06-221-0/+8
| | | | | | | | | | Reviewed-By: Andrew Lynch <andrew.lynch@ni.com> Reviewed-By: Michael West <michael.west@ettus.com>
* | b200: Removed superfluous function declarationMartin Braun2016-02-151-1/+0
| |
* | b2xx,e3xx,x300: Bumped FPGA compat numbers after incompatible maint mergeAshish Chaudhari2015-12-151-2/+2
| | | | | | | | | | | | | | - b200: compat 14 - b200mini: compat 5 - e3xx: compat 15 - x3xx: compat 20
* | Merge branch 'maint'Ashish Chaudhari2015-12-151-3/+6
|\| | | | | | | | | | | | | Conflicts: host/lib/usrp/b200/b200_impl.hpp host/lib/usrp/e300/e300_fpga_defs.hpp host/lib/usrp/x300/x300_fw_common.h
| * B2xx: Added B205mini support.michael-west2015-12-101-1/+2
| | | | | | | | | | | | - Add support to b200_impl - New INF file - Removed references to old 'B205' name
| * b2xx,e3xx,x300: Bumped FPGA compat numbers after SW time-sync changesAshish Chaudhari2015-12-101-2/+2
| | | | | | | | | | | | | | - b200: compat 13 - b200mini: compat 4 - e3xx: compat 14 - x3xx: compat 19
| * Bumped FPGA compat numbers for B200, X300, and E300.michael-west2015-12-101-1/+1
| |
| * B200/E300: Set time sync on clock rate change to current time of first radiomichael-west2015-12-101-1/+2
| |
| * B210: Add VITA time synchronization on internal signalmichael-west2015-12-101-0/+1
| |
| * b2xx,e3xx,x300: Bumped compat numbers for 3.9.1 UHD releaseAshish Chaudhari2015-09-031-2/+2
| | | | | | | | | | | | | | - b200: compat 11 - b200mini: compat 2 - e300: compat 11 - x300: compat 15
| * b2xx: Removed DCM reset bit (obsolete)Martin Braun2015-09-031-2/+1
| |
* | b2xx,e3xx,x300: Bumped compat numbers after GPIO ATR refactoringAshish Chaudhari2015-10-161-2/+2
| | | | | | | | | | | | | | - b200: compat 12 - b200mini: compat 3 - e300: compat 12 - x300: compat 17
* | usrp3: Added new GPIO ATR 3000 coreAshish Chaudhari2015-09-291-6/+3
| | | | | | | | | | | | | | | | - Refactored GPIO ATR definitions - Added new 3000 core with a more efficient API - Added a separate db_gpio_atr core to control the ATR bus - Ported b2xx, e3xx and x3xx to the new core - Minor cleanup
* | b2xx,e3xx,x300: Bumped compat numbers for 3.9.1 UHD releaseAshish Chaudhari2015-09-081-2/+2
| | | | | | | | | | | | | | - b200: compat 11 - b200mini: compat 2 - e300: compat 11 - x300: compat 15
* | b2xx: Removed DCM reset bit (obsolete)Martin Braun2015-09-081-2/+1
|/
* B2XX: Added B200mini supportmichael-west2015-08-171-3/+8
|
* b200,e300,x300: Updated compat number for release 3.9.0Ashish Chaudhari2015-08-141-1/+1
| | | | | | - b200: compat 10 - e300: compat 10 - x300: compat 14
* b200: Change init sequence to catch bad USB statesBalint Seeber2015-08-031-1/+11
| | | | | - Fixes USB hang issues on OS X - Uses usb_errors
* ad9361/b200/e300: Refactored AD936x + perifs managementMartin Braun2015-07-291-7/+2
| | | | | | - Created AD936x manager class - Moved functionality from B2x0 and E310 into manager - Separated property tree + perifs initialization in both device classes
* b200: Change default tick rate to 16 MHzMartin Braun2015-07-241-1/+1
|
* Added uhd::image_loader class and uhd_image_loader utilityNicholas Corgan2015-07-151-3/+13
| | | | | | * 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
* Updated compat numbers for B2x0 and X3x0Martin Braun2015-07-141-1/+1
| | | | | - B2x0: FW compat number (goes with previous firmware update) - X3x0: Max HW rev number
* Merge branch 'maint'Martin Braun2015-07-141-1/+1
|\ | | | | | | | | | | | | | | | | | | Conflicts: fpga-src host/CMakeLists.txt host/cmake/Modules/UHDVersion.cmake host/lib/usrp/b200/b200_impl.hpp host/lib/usrp/e300/e300_fpga_defs.hpp host/lib/usrp/x300/x300_fw_common.h
| * b200: Bumped FPGA compat number to 8 for releaseAshish Chaudhari2015-07-141-1/+1
| |
| * b200: Modify initialization sequence to avoid warningsMartin Braun2015-06-291-1/+2
| | | | | | | | | | | | | | | | | | | | This will set the actual default rate to an integer factor of whatever the tick rate is, but leave the property tree value at zero. This avoids warnings if the chosen tick rate is not a multiple of the previous default rate, but also returns a zero value for the rate when it has not been initialized, allowing the user to probe if the value has not yet been set.
* | b200: Modify initialization sequence to avoid warningsMartin Braun2015-06-291-1/+2
| | | | | | | | | | | | | | | | | | | | This will set the actual default rate to an integer factor of whatever the tick rate is, but leave the property tree value at zero. This avoids warnings if the chosen tick rate is not a multiple of the previous default rate, but also returns a zero value for the rate when it has not been initialized, allowing the user to probe if the value has not yet been set.
* | Merge branch 'maint'Martin Braun2015-05-111-2/+1
|\| | | | | | | | | | | | | Conflicts: fpga-src host/CMakeLists.txt host/cmake/Modules/UHDVersion.cmake
| * b200: Changed the max byte rate over USB2Marcus Müller2015-05-061-2/+1
| | | | | | | | | | Max rate is now set to 53248000, allowing for more than 8MS/s, which is closer to the actual value that USB2 can handle.
* | Merge branch 'maint'Martin Braun2015-04-271-0/+2
|\|
| * b200: Added convenience subdev override for consistent subdev experienceMartin Braun2015-04-271-0/+2
| |
* | Merge branch 'maint'Martin Braun2015-04-241-2/+2
|\|
| * b200: Fixed FE swapping registerMartin Braun2015-04-241-2/+2
| |