aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300/x300_impl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* x300: Replace all references to boost::this_thread::sleep()Martin Braun2018-04-171-10/+15
| | | | Use std::this_thread::sleep_for() instead.
* x300: handle bad weak_ptr during pcie discoveryMark Meserve2018-04-101-1/+9
|
* x300: Update loggingMartin Braun2018-03-301-37/+37
| | | | | | | | | No functional changes. - Demote some messages to DEBUG or TRACE - Use consistent logging styles - In some cases, adapted code to coding style when near logging statements
* x300: Refactor clock and time source prop tree setupMartin Braun2018-03-291-12/+27
| | | | | | - Remove boost::bind - Remove boost::assign::list_of - No functional changes
* x300: Properly coerce master clock rate (tick rate)Martin Braun2018-03-291-4/+22
| | | | | | | | - A call to multi_usrp::set_master_clock_rate() on the X3x0 will now properly coerce the value, and show a warning when it had to coerce. It will not throw an exception. - Did a minirefactoring of the tick_rate property setup and removed two more boost::binds.
* uhd: Move internal headers to uhdlib/Martin Braun2018-03-141-7/+8
| | | | | | | | | | | | | | | | 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: Fix some log statementsAndrej Rode2018-03-071-3/+3
| | | | Some log statements were incorrectly using multi-line log statements.
* 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-16/+16
| | | | | | | | | | | | - 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
* Merge branch 'maint'Martin Braun2017-07-171-1/+15
|\
| * fixup! x300: Changed discovery to return early if we find the serial requestedBrent Stapleton2017-07-051-1/+1
| |
| * x300: Changed discovery to return early if we find the serial requestedbstapleton2017-06-301-1/+15
| |
* | utils: add set_thread_name API call, move thread_priority to threadAndrej Rode2017-06-291-1/+1
| |
* | uhd: Replaced many lexical_cast with appropriate C++11 equivalentsMartin Braun2017-06-291-3/+3
| |
* | Merge branch 'maint'Martin Braun2017-06-271-15/+48
|\|
| * X300: Implement single DMA channel for all async messagesMichael West2017-06-261-11/+38
| |
| * X300: Dual channel TX performance improvementsMichael West2017-06-261-4/+10
| |
* | logging: remove unecessery newlines in log messagesAndrej Rode2017-04-071-1/+1
| |
* | Merge branch 'maint'Martin Braun2017-04-061-4/+4
|\|
| * X300: Change default frame sizes for PCIe to be page aligned for betterMichael West2017-04-051-4/+4
| | | | | | | | performance
* | logging: Demoted a number of DEBUG messages to TRACEMartin Braun2017-04-051-1/+1
| |
* | device3: Fixed potential concurreny issuesAshish Chaudhari2017-04-051-4/+1
| | | | | | | | | | | | | | - Protected block_ctrl vector with a mutex - Note: const block accessors are not thread safe - Removed sid_framer from base device3 class - Made x300,e300 sid_framers atomic
* | uhd: Fix minor typoDerek Kozel2017-04-041-1/+1
| |
* | Merge branch 'maint'Martin Braun2017-03-151-5/+1
|\|
| * x300: Put back runtime error on FPGA compat mismatchMartin Braun2017-03-151-5/+1
| |
* | utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-86/+49
| |
* | X3xx: Limit the number of USRPs that can initialize in parallelPaul David2017-02-131-7/+15
| |
* | uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-101-13/+12
| | | | | | | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* | Merge branch 'maint'Martin Braun2017-02-101-1/+3
|\|
| * x300: only remove existing items from zpu_iface_registry in destructorAndrej Rode2017-02-011-1/+3
| |
* | Merge branch 'maint'Martin Braun2017-01-301-6/+25
|\|
| * X300: Added code to handle case where older firmware was slow to release the ↵michael-west2017-01-261-6/+25
| | | | | | | | claim causing discovery to fail
* | x300: Output system messages in order for multi-threaded initializationPaul David2017-01-191-0/+46
| |
* | x300: Run motherboard setup with multiple threadsPaul David2017-01-191-2/+15
| |
* | Merge branch 'maint'Martin Braun2017-01-171-27/+68
|\|
| * X300: Prevent MB EEPROM Corruptionmichael-west2017-01-101-27/+68
| | | | | | | | | | | | | | - Load EEPROM data into firmware memory to access from there instead of driving the I2C bus directly - Fixed firmware performance issues by removing the popcntll() function and reducing frequency of background tasks to once every 10ms - Added x300_mb_eeprom_iface to handle cases of devices with older and newer firmware - Added checks for claim to device before driving the I2C bus
* | x300: Remove XB clearing since it seems to have no effectPaul David2017-01-161-8/+0
| |
* | Merge branch 'maint'Martin Braun2016-12-131-9/+9
|\|
| * x300: Made MTU throttling more explicit in x300 header filesMartin Braun2016-12-131-1/+1
| |
| * X300: dont stop x300_find if receiving wrong flagsAndrej Rode2016-12-081-2/+2
| | | | | | | | | | Just skip current receive buffer and do not stop processing udp packets completely.
| * x300: Make PCIe muxing and connection multi-usrp capableMartin Braun2016-12-081-6/+6
| |
* | rfnoc: Moved transport endianness as property into both_xports_tMartin Braun2016-11-091-2/+2
|/ | | | Reviewed-By: Michael West <michael.west@ettus.com>
* 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).
* x300: Add time sync procedure to device initializationMartin Braun2016-10-131-1/+9
| | | | Reviewed-By: Derek Kozel <derek.kozel@ettus.com>
* bugfix: db eeprom id not being written for X3x0Ashish Chaudhari2016-09-271-5/+0
| | | | | | | | - The value of db_eeprom_t being written was stale due to a caching bug - Updated subscriber for db_eeprom_t to write the EEPROM state *and* cache it locally Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* x300: Added ignore-cal-file as an optionMartin Braun2016-09-271-1/+6
| | | | | Reviewed-By: Moritz Fischer <moritz.fischer@ettus.com> Signed-off-by: Martin Braun <martin.braun@ettus.com>
* Added NI product IDs for USRP-2945 and USRP-2955vkakade2016-09-201-0/+4
| | | | These are USRP RIO (X310) devices with TwinRX daughter-boards.
* Merge branch 'UHD-3.9.LTS' into maintMartin Braun2016-08-291-6/+11
|\
| * uhd: error on setting large recv_frame_size fixed #1212Sugandha Gupta2016-08-291-6/+11
| |