aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "uhd: Check property type at access; error if mismatch"Martin Braun2019-09-304-55/+5
| | | | | | | This reverts commit 94592641f0647563bc4d2163805d5284a6796273. The commit itself was OK, but it changed the requirements such that UHD could only be compiled with C++11.
* MPM: Increase E320 max rev to 4michael-west2019-09-241-1/+1
| | | | | | Increase to currently shipping rev. Signed-off-by: michael-west <michael.west@ettus.com>
* mpm: fixed mboard_max_revision valueMatthew Crymble2019-09-244-15/+10
| | | | | | | | This value should be 9 to correspond with the rev J motherboards. This property was renamed to mboard_last_rev_compat in a previous commit. But mboard_max_rev is actually a more accurate description, since it specifies the latest hardware revision that the software is aware of. I renamed all references back to mboard_max_rev.
* examples: Add replay example to CMakeMartin Braun2019-09-202-2/+3
|
* Device3: Restore default buffer sizes for MPMD UDPMichael West2019-09-131-0/+2
| | | | | | | | | The latest change to fix MTU and default frame sizes inadvertantly removed the default send and recv buffer sizes in the MPMD UDP transport, which caused receive timeouts and underruns at higher sample rates. This change restores those values. Signed-off-by: Michael West <michael.west@ettus.com>
* x300: cdecode: Fix fallthrough warningMartin Braun2019-09-101-0/+9
|
* uhd: include: Add <string> to headers where it was missingMartin Braun2019-09-092-1/+3
|
* rfnoc: Read cmd FIFO size from blocks & configure ctrl_ifaceMartin Braun2019-09-047-15/+42
| | | | | | | | | | This requires noc_shell compat number 6.0. It will allow sending as many command packets, but no more, than there is space. Updated FPGA images for devices: - X310/X300 - N300/N310/N320 - E310/E320
* uhd: Check property type at access; error if mismatchAaron Rossetto2019-09-044-5/+55
|
* Update CODING guidelinesMartin Braun2019-09-041-4/+7
| | | | | - Reference clang-format - Fix typos
* examples: bmark_rate: fixup INIT_DELAYBrent Stapleton2019-09-041-3/+6
| | | Fixing accounting for INIT_DELAY in the stream duration
* kitchen_sink: fix building using c++11Michael Dickens2019-09-031-1/+1
|
* kitchen_sink: remove uhd::msg cruft removed from UHD in 21aad77cMichael Dickens2019-09-031-118/+0
| | | | Closes: #3479
* cmake: add 'project', as requested by CMakeMichael Dickens2019-09-031-0/+1
|
* rx_fe_3000: formatting for upcoming changesBrent Stapleton2019-08-252-89/+107
|
* dboard_eeprom: Remove trace logs for EEPROM readoutMartin Braun2019-08-251-8/+0
|
* fixup! uhd: Changed mboard_eeprom_t interface, refactored MB EEPROM codeSugandha Gupta2019-08-251-0/+1
|
* docs: Add a section on the PCIe NI-RIO transportMartin Braun2019-08-221-0/+25
|
* docs: Improve language on threading for recv() and send()Martin Braun2019-08-222-7/+23
|
* mg: Allow for timeout on retuneMartin Braun2019-08-223-1/+19
| | | | set_freq() calls now have a 15 seconds timeout.
* n3xx: mg: Make set_freq() call asynchronousMartin Braun2019-08-222-0/+39
| | | | | | | This does not change the MPM/UHD API, but it makes the set_freq() call asynchronous on the MPM side. The upside is that it will release the GIL if the set_freq() call takes too long, e.g., because of MPM calibrations.
* mpm: mg: Only import AD9371 API calls if not yet on MagnesiumMartin Braun2019-08-221-2/+3
| | | | | This will avoid importing API calls from the self.mykonos object onto the Magnesium class if the Magnesium class already has such a method.
* x300: fix x300 GPIO ATR property tree access typeeklai2019-08-221-6/+49
| | | | | | | | | | | | | | In x300_radio_ctrl_impl.cpp, the GPIO attributes GPIO_SRC, GPIO_CTRL, and GPIO_DDR are initialized as with vector<string> values in the property tree. However, they are accessed in set_gpio_attr() and get_gpio_attr() as vector<uint32_t>, which will crash. This commit changes these access methods to be consistent with the attribute value types. This is not an issue for those who use the multi-usrp interface, since that interface's set_gpio_attr() and get_gpio_attr() methods are implemented with the correct typing for GPIO_SRC, GPIO_CTRL, and GPIO_DDR.
* boost: Replaced units::demangle with core::demangle where appropriateMartin Braun2019-08-222-6/+6
| | | | Boost moved this around in version 1.58.
* python: Fixup bmark_rate printed statisticsBrent Stapleton2019-08-211-3/+3
| | | | | | | | - When printing statistics, the number of TX and RX timeouts were mixed up. - Fixing main() docstring Fixes e735a63ff9e ("python: Adding Python API benchmark rate")
* python: Fixups for Phase Alignement test scriptBrent Stapleton2019-08-211-12/+34
| | | | | | | | | | | | - Wait 100ms after a retune before capturing samples. Users can set the length of time with `--skip-time X` - Actually set RX gain - Remove old TODOs - Print alignment statistics in increasing frequency order - Fix health check reported values (was reporting radians, but labeling them as deg) - Fix calculating the maximum drift for phase differences around +/-180 degrees
* multi_usrp: Fix typo in get_user_settings_iface()Brent Stapleton2019-08-191-1/+1
|
* x300: Introduce conn_managerMartin Braun2019-08-165-31/+64
| | | | | | | This is a superclass to eth_manager and pcie_manager, since they usually do the same thing. This saves storing and passing multiple pointers. Also, x300_impl now stores a shared_ptr of the conn_manager, because we'll need to pass it around in the future.
* uhd: Add UHD_FALLTHROUGH attributeMartin Braun2019-08-162-0/+14
| | | | | | | | | | | | | | | | | This provides a platform-independent attribute to allow fallthroughs in switch statements. Example: switch (foo) { case BAR: do_something(); UHD_FALLTHROUGH case BAZ: do_another_thing(); } The usage of UHD_FALLTHROUGH will avoid a compiler warning if indeed the fallthrough was intentional. The associated warning (-Wimplicit-fallthrough) is only available on gcc and Clang.
* e320: fix time source clobbering ref sourceMark Meserve2019-08-151-2/+6
| | | | | | | - Fixes a case where the e320 would be unable to lock to an external 10 MHz reference - Previously, calling set_time_source would set the reference clock source to internal as a side effect
* RFNoC: Re-enable flow ctrl for blocks on same xbarMichael West2019-08-141-1/+1
| | | | | | | | | | | Prior commit disabled flow control for all lossless links, including links between blocks on the same crossbar. That caused packets to jam up the crossbar leading to control packets failing to ACK under certain conditions. This reverts it so flow control is enabled and the crossbar is kept clear. Signed-off-by: Michael West <michael.west@ettus.com>
* docs: Fix Doxygen warning due to spurious <>Martin Braun2019-08-131-1/+1
|
* uhd: rfnoc: docs: Fix Doxygen warning due to undoc'd parameterMartin Braun2019-08-131-1/+2
|
* docs: Fix Doxygen warnings due to spurious backslashesMartin Braun2019-08-131-1/+1
|
* docs: x300: update docs for multiple timed commandsSame-Writer2019-08-071-0/+5
| | | | | Adding advisory in the X300 manual page regarding issuing multiple timed commands causing device lockups.
* mpmd: Fix corner case in MPM device reachabilitySugandha Gupta2019-08-071-1/+1
| | | | | | | | | To check if a device is fully reachable through the chdr address i.e. SFP port, an RPC request is sent to "second_addr" and "addr" of that device. This commit fixes the case where if "second_addr" is not connected to the host, the function returns earlier and does not check for "addr".
* rfnoc: fix multidevice graph connectionsMark Meserve2019-08-061-96/+107
| | | | | | | - Fixes an issue where a multi-device device3 object would cause connections to be generated across devices in legacy_compat - The connect_blocks function previously assumed that find_blocks would always return blocks in the same device number order
* B200: Add command to query bootloader statusmichael-west2019-08-061-1/+9
| | | | | | | Updated b2xx_fx3_utils to add a --query_bootloader option to check if the bootloader is loaded or not. Signed-off-by: michael-west <michael.west@ettus.com>
* x300: Refactor heavilyMartin Braun2019-08-0215-1352/+1607
| | | | | | | | | This pulls out a lot of code from x300_impl and puts it into its own compilation units: - EEPROM code goes to x300_mb_eeprom.* - Claim code goes to x300_claim.* - PCIe code goes to uhd::usrp::x300::pcie_manager - Ethernet code goes to uhd::usrp::x300::eth_manager
* x300: Factor out mb-type specific codeMartin Braun2019-08-025-165/+220
| | | | | This puts all functions that identify motherboards, distinguishes X310/X300/NI2974, checks MB revs etc. into its own compilation unit.
* Remove GPSd dependencyMartin Braun2019-07-245-399/+0
| | | | | GPSd was used by the E310 prior to its MPM-ification, GPSd is therefore no longer required by UHD.
* cmake: quote the @UHD_VERSION@ replacement to allow any stringMichael Dickens2019-07-241-1/+1
|
* cmake: UHDLog: Use STRING over FILE for the log fileMichael Dickens2019-07-241-1/+1
| | | | | This is because FILE is not actually a type, and we don't care about an existing file either. It's just a setting for the build.
* n310: add capability to control RF filter bypass and freq.band limitsThomas Vogel2019-07-246-39/+133
| | | | | | | | | | | | | | | | | | With the keywords "rx_gain_profile", "tx_gain_profile" and the new values "default_bypass_always_off" and "default_bypass_always_on" the customer can control whether the filter bypass shall be applied as defined in the gain-table or whether to switch the bypass to ON or OFF for all gains. With the keywords "rx_band_map" and "tx_band_map" the user can define custom frequency borders for the band mapping. These new keywords can be used in the uhd.con, e.g.: [type=n3xx] rx_gain_profile=default_bypass_always_off tx_gain_profile=default_bypass_always_on rx_band_map=431e6;601e6;1051e6;1601e6;2101e6;2701e6 tx_band_map=723.18e6;1623.18e6;3323.18e6
* gpsd: Fix gpsdata API: .separation -> .fix.geoid_sepMichael Dickens2019-07-231-0/+8
| | | | See: https://gitlab.com/gpsd/gpsd/commit/c711d531a6faab93df68ec625a076631569a729d
* utils: converter_benchmark: Fix scaling for sc16->fc32Martin Braun2019-07-201-2/+2
|
* convert: benchmark: Make converter benchmark Py3k compatibleMartin Braun2019-07-201-4/+5
|
* converters: Improve exception string for illegal formatsMartin Braun2019-07-201-1/+1
| | | | | | | When trying to create a converter with an illegal string, it will now look like this: [convert] Cannot find an item size for: `???'
* mpm: net: Fix typo in docstringMartin Braun2019-07-201-1/+1
|
* ad9361: Improve loggingMartin Braun2019-07-181-10/+15
| | | | | - Remove some spurious \n - Remove some usage of boost::format