aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* python: cmake: Use native format for setup.pyTrung Tran2019-02-252-2/+3
| | | | | | | setuptools isn't compatible with Unix style path on Windows 10 machines. We need to convert any path before running setuptools. Signed-off-by: Trung Tran <trung.tran@ettus.com>
* lib: cmake: Fix MSVC options (add /bigobj)Trung Tran2019-02-251-1/+1
| | | | | | | | | MP and bigobj should be at compile options level instead of compile_flags(which are at target properties level). We have been setting these options incorrectly. They are currently not applied to any project. Signed-off-by: Trung Tran <trung.tran@ettus.com>
* python: Replace Boost.Python with PyBind11Martin Braun2019-02-2219-852/+337
| | | | | | This does not change the Python API itself, but it is still a significant change. Most importantly, it removes the dependency on Boost.Python.
* deps: Add PyBind11Martin Braun2019-02-2230-1/+12341
|
* mpm: rpc_server: Improve error message on double-claimMartin Braun2019-02-221-2/+5
| | | | | The error message will now include the IP address of the client trying to double-claim a device.
* mpm: rhodium: Fix clock value log formattingMartin Braun2019-02-221-2/+3
| | | | | Before, the log messages would occasionally print 6 digits worth of precision for sample clock values that only require 2.
* mpmd: Fix typecast warning in property tree default settingsMartin Braun2019-02-221-1/+1
|
* mpmd: Allow reclaim failures on component updatesMartin Braun2019-02-223-14/+67
| | | | | | | | | | | | MPM has a flag that identifies component reloads as requiring to restart the RPC server. This change honours that flag, and doesn't cause a fatal failure when reclaims fail to ack for certain operations. For example, running uhd_image_loader on an N310 could fail after the FPGA was reloaded because the communication to the RPC server was temporarily interrupted. This is not always avoidable, since the RPC server does actually go down, and Ethernet connections might also be lost. So, we cut our losses and accept failures in that case.
* mpm: rhodium: Fix typo in log messageMartin Braun2019-02-221-1/+1
|
* mpm: n320: Update FPGA type if QSFP board is availableMartin Braun2019-02-221-1/+9
| | | | | | The N320 has FPGA types (XQ, AQ) which cannot be derived from the mboard regs in the same way as the non-QSFP variants. We therefore bite the bullet and hardcode those.
* mpm: n320: Demote warning on absence of QSFP boardMartin Braun2019-02-221-4/+5
| | | | | The QSFP board can't be detected if support for it is not baked into the current FPGA image, so the warning on its absence may be incorrect.
* rh: revise correction data usageMark Meserve2019-02-213-11/+19
| | | | | | | | | | - UHD's calibration utilities use the LO frequency, so this is the frequency we should be using too. - Disables loaded corrections in lowband, as the utilities will not generate valid corrections at these frequencies. Manual corrections can still be added via the property tree. - Changed corrections logging to include frequency and less certainty of the correction file's existence.
* rh: reset rx iq balance on initMark Meserve2019-02-211-0/+1
| | | | | - Fixes a bug where a previous setting could carry over between sessions.
* uhd: set tx gain to max for rx iq calMark Meserve2019-02-211-2/+7
| | | | | | - The other cal utilities (TX IQ and TX DC) already do this. - This fixes calibration for certain frequencies on N320/N321. - Old calibration data is still valid after this change.
* mpm: bist: DDR3 test only enumerates first blockMartin Braun2019-02-201-1/+1
|
* mpm: n3xx: bist: Auto-load the AA image for the ddr3 BISTMartin Braun2019-02-201-0/+22
| | | | | | | | | | | | | | When running $ n3xx_bist ddr3 The test will now load the AA image if the BIST fails, unless the user specifies $ n3xx_bist ddr3 -o skip_load_fpga=1 The rationale is that by default, the AA image is the only one that includes the DmaFIFO block.
* mpm: n3xx: BIST: Improve DDR3 BIST to check for DmaFIFOMartin Braun2019-02-201-6/+10
| | | | | | | The capability to run the DDR3 BIST is built into the DmaFIFO RFNoC block, which is not always available. This change performs a quick check before for its existence before retrieving the throughput values, and thus can provide a better error message in that case.
* mpm: n3xx: Remove DDR3 from standard BIST collectionMartin Braun2019-02-201-1/+1
| | | | | | | We can't guarantee that there is actually a DDR3/DRAM FIFO block on the image. So, don't run that test by default. In order to run the DDR3 bist, running `n3xx_bist ddr3` is still valid. However, it requires an image with the DRAM FIFO enabled.
* e320: add fpga_version_hash to e320 device infoSugandha Gupta2019-02-191-0/+2
| | | | | Fixes uhd_usrp_probe FPGA version githash to report the correct hash and not 'UNKNOWN'.
* images: Update images package for N320 imagesMartin Braun2019-02-191-2/+2
| | | | | | | | The previous zip file had accidentally archived the wrong images. This provides the correct images. From uhd_usrp_probe: - FPGA Version: 5.3 - FPGA git hash: 4bc2c6f.clean
* mpm: n320: Properly check for the LO distribution boardMartin Braun2019-02-192-9/+23
| | | | | | | | Without this patch, the N320 code will rely on an error to occur to determine the non-existence of the N321 LO distribution board. While this works, it forces an error message where there's no error. This will first check for the existence of the board before trying to initialize it.
* cmake: remove Boost from dyn libs for tests on AppleMichael Dickens2019-02-191-1/+3
| | | | | | | | | Remove "${prefix}/lib" from the DYLD path for APPLE only. Apple's DYLD uses the paths embedded in the binary file (library or executable) as a secondary means for finding referenced libraries. Explicitly including "${prefix}/lib" can result in libraries being found and used by System frameworks that are not compatible with them. Moving to just using build paths fixes this issue.
* N3xx: Update max rev to 7michael-west2019-02-191-2/+1
| | | | | | | Hardware revision was increased due to new firmware. No software changes are required. Signed-off-by: michael-west <michael.west@ettus.com>
* nirio: Demote rpc client start/stop log messages to DEBUGMartin Braun2019-02-181-2/+2
|
* node_ctrl_base: add check valid num_input_portsTrung Tran2019-02-181-2/+3
| | | | | | | | | | | | A node is not a block, it doesn't use any block definition to populate the number of input and output ports. This is equivalent to it have undefined number of input and output ports. The _find_child_node function relies on node input and output port size. When port size is not defined we should not follow the active channel; instead, we need to greedily to find all child node. Without this change graph_search_test will fail. Signed-off-by: Trung Tran<trung.tran@ettus.com>
* RFNoC: Fix flush in source_block_ctrl_baseMichael West2019-02-182-21/+4
| | | | | | | | | | The configure_flow_control_out function was set to dump any packets onto the crossbar, which could cause issues on the crossbar and in downstream blocks. Replacing wil a call to the _flush() function in the block_ctrl_base parent class, which drops the packets so they do not get put onto the crossbar. Signed-off-by: Michael West <michael.west@ettus.com>
* RFNoC: Disable FC ACK packets for lossless linksMichael West2019-02-187-22/+32
| | | | | | | FC ACK packets are unnecessary on lossless links and degrade overall performance. This change disables those packets on all lossless links. Signed-off-by: Michael West <michael.west@ettus.com>
* docs: Add note on manually disabling NEON extensionsMartin Braun2019-02-151-0/+11
|
* x300: Enable ADC gain through RFNoC APIMartin Braun2019-02-152-29/+83
| | | | | | The RFNoC call set_rx_gain() would previously ignore the additional 6 dB that can be set on the ADC. On the BasicRX board in particular, this meant there was no RX gain setting at all.
* n230: n230_image_loader: Remove dead store for ptrMoritz Fischer2019-02-151-1/+1
| | | | | | | Remove dead store for ptr. 'ptr += 4' is useless, since nothing uses 'ptr' afterwards. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* examples: tx_samples_c: Fix memory leakMoritz Fischer2019-02-151-2/+5
| | | | | | | | | Fix memory leak: 'buff' was never freed. While we're at it replace the kludgy malloc(n*y*sizeof(float)) by calloc(sizeof(float), n*y). Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* examples: benchmark_rate: Remove dead store to is_lockedMoritz Fischer2019-02-151-1/+0
| | | | | | | Remove dead store to is_locked. The variable isn't read before being overwritten, so the extra store is useless. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* mpm: lib: mykonos: adi_ctrl: Remove unused variableMoritz Fischer2019-02-151-2/+0
| | | | | | | Remove unused variable data_word that never gets set, but never read. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* mpm: lib: mykonos: ad937x_device: Remove unused variableMoritz Fischer2019-02-151-3/+0
| | | | | | | Remove unused 'coerced_value' variable since nobody reads it ever. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* uhd: Replace all usage of boost::noncopyable with uhd::noncopyableMartin Braun2019-02-1584-164/+173
| | | | | | This fixes the build errors that occur due to switching locations of noncopyable.hpp within Boost, and also allows us to remove boost::noncopyable in one fell swoop.
* b200_cores: Replace usage of boost::mutex with std::mutexMartin Braun2019-02-154-7/+10
|
* b200: Use uhd::noncopyableMartin Braun2019-02-152-3/+6
| | | | | This removes the usage of boost::noncopyable in some places and serves as a reference for how to do that.
* uhd: utils: Add noncopyable classMartin Braun2019-02-152-0/+56
| | | | | | | | | | | This is a replacement for boost::noncopyable. It has two implementations with identical APIs, selectable by a macro. One "implementation" is a renaming of the Boost version. The other is simply implemented using C++11 features. The motivation is that the location for boost::noncopyable has changed over the range of Boost versions, thus, using boost::noncopyable is difficult to maintain for a broad range of Boost versions.
* cmake: Update version string to 3.15.0.gitMartin Braun2019-02-131-5/+5
|
* utils: Deny positional options in uhd_image_loaderAlex Williams2019-02-131-1/+3
| | | | | | | This change prevents invalid positional options from being accepted into uhd_image_loader. Previously, if a user forgot to specify the option type, uhd_image_loader would proceed and look like it succeeded, but the intended image may not have been loaded.
* docs: fix broken link in DPDKBrent Stapleton2019-02-121-1/+1
| | | | The link to the MPM page in the DPDK docs was incorrectly named. This change links to the correct page name.
* docs: n3xx: fix Salt formattingBrent Stapleton2019-02-121-1/+2
| | | | Fixes issue where Doxygen doesn't recognize a block within N3XX's Salt subsection as code.
* docs: N3xx page shell formatting and bb imageMarcus Müller2019-02-111-2/+5
|
* mpm: xport: add commit_xport docstringBrent Stapleton2019-02-111-1/+4
|
* lib: fix includes for boost::noncopyableMichael Dickens2019-02-112-0/+7
| | | | | | | - expert_nodes.hpp: fix to work with BOOST_VERSION < 105600, since UHD still supports Boost 1.53.00. - gpio_atr_3000.hpp: requires boost::noncopyable header, so replicate that (now) in export_nodes.hpp.
* fixup! RFNoC: Fix scaling of M and N values in DDC/DUCMark Meserve2019-02-081-1/+1
|
* Docs: Update DPDK dep commandnatetemple2019-02-061-1/+1
|
* images: Update manifest for 3.14.0.0-rc1 imagesmichael-west2019-02-061-6/+6
| | | | Signed-off-by: michael-west <michael.west@ettus.com>
* images: Add N320 WX FPGA imagemichael-west2019-02-052-1/+6
| | | | Signed-off-by: michael-west <michael.west@ettus.com>
* images: Update manifestmichael-west2019-02-051-5/+6
| | | | | | | - Update n3xx_common_* paths for 3.14.0.0 - Add N320 CPLD Signed-off-by: michael-west <michael.west@ettus.com>