aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* python: Add sync source to Python APIBrent Stapleton2018-11-292-0/+41
| | | | Exposing getters, setters, and options for multi_usrp sync source.
* images: Update manifest with Rhodium imagesAlex Williams2018-11-281-0/+1
|
* e300: Type-cast fix for boostAndreas Müller2018-11-281-1/+1
| | | | | | | Fixes compiler errors on newer Boost. boost::posix_time::microseconds() requires a int64_t. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* filter: Fix return value in get_rolloffDerek Kozel2018-11-281-1/+1
|
* rfnoc: Add halt to replay APIWade Fife2018-11-273-1/+12
| | | | | The HALT feature allows a command that takes a long time to run to be stopped while it is in progress.
* rfnoc: Fix default SPP for replayWade Fife2018-11-271-4/+3
| | | | Consolidate two constants for default replay packet size down to one.
* RFNoC: Fix replay example port argsWade Fife2018-11-271-3/+3
|
* mpm: rh: Remove n321 overlayAlex Williams2018-11-271-1/+0
| | | | | | The n321 overlay is no longer needed. The devices have been added to the n320 overlay because the kernel cannot tear down multiple overlays reliably.
* Docs: Adjust E310 functional verification testsmichael-west2018-11-261-10/+10
| | | | The sample rates and the interpolation/decimation limits didn't match.
* x3xx: implement rfnoc get antenna functionsMark Meserve2018-11-262-0/+16
|
* utils: specify the downloader's Python executableBrent Stapleton2018-11-261-1/+1
| | | | | | | | | | Change the uhd_images_downloader's first line to execute with a runtime Python interpreter, as determined at UHD build time. Users can still use an arbitrary Python executable by calling `python uhd_images_downloader` This will fix our embedded products by ensuring that we call Python3 when running uhd_images_downloader in embedded mode.
* cmake: python: adding RUNTIME_PYTHON_EXECUTABLEBrent Stapleton2018-11-261-1/+15
| | | | | | Adding a CMake variable to set the runtime Python interpreter. This will default to PYTHON_EXECUTABLE, which is the build time Python interpreter.
* n3xx: Change init() procedure to reduce configuration timeHumberto Jimenez2018-11-261-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | Previously, the init() procedure of the n3xx class passed either the user-provided or the default clock_source and time_source values to initialize the clocking configuration. When the user did not provide these parameters, the default values were assigned, overriding whatever configuration the device was previously initialized with. Therefore, a dboard reinit was forced when the currently configured state of the N3xx device did not match the default configuration (i.e. internal sources). Now, the init() procedure still provides the clock_source and time_source values; but, if the user does not provide the parameters, the previously used values are assigned (i.e. self._clock_source and/or self._time_source). By the time MPM runs this n3xx init() procedure for the first time, both self._clock_source and self._time_source have been initialized with the default internal values anyways in the _init_ref_clock_and_time() procedure. This change prevents additional, unnecessary calls to the set_sync_source() procedure, which ultimately causes a daughterboard reinitialization when either a new clock or time source is requested.
* rh: Fix update_ref_clock_freq() to update init argsHumberto Jimenez2018-11-261-0/+3
| | | | | | The update_ref_clock_freq() procedure now updates the self._init_args value of the Rhodium class daugtherboard objects in MPM to propagate the latest user-selected arguments for future reference.
* x300: fixup minimum master clock rateBrent Stapleton2018-11-211-1/+1
| | | | | Recent clocking changes set the minimum master clock rate to 187.5MHz, instead of the actual 184.32MHz. This change corrects that.
* multi_usrp: Fixed get_tx_stream referenceGregory Eslinger2018-11-201-1/+1
|
* uhd: fix rx antenna not being applied in txrx exampleMark Meserve2018-11-161-2/+3
|
* rh: fix typo in lo distribution propertiesMark Meserve2018-11-161-2/+2
|
* rh: fix typo in set_clk_safe_stateMark Meserve2018-11-161-1/+1
|
* mpmd: add fpga_vesion_hash infoTrung Tran2018-11-161-0/+2
|
* mpm: add fpga githash to device infoTrung Tran2018-11-161-0/+2
|
* tests: Retrofit sph test to use new mock transportCiro Nishiguchi2018-11-165-201/+293
|
* utils: uhd_images_downloader: Add --http-proxy optionMartin Braun2018-11-161-2/+11
| | | | | | | | | | | | This lets the user specify a HTTP proxy. The environment variable HTTP_PROXY is still usable, but --http-proxy will override it. Example: $ uhd_images_downloader \ --http-proxy http://user:pass@10.20.30.40:3128 \ -t x310 Here, the tool will download all the images matching 'x310' using a proxy at 10.20.30.40.
* mpmd: Improve error message for compat number mismatchesMartin Braun2018-11-161-6/+14
|
* x300: New mode to configure master clock rateScott Torborg2018-11-163-10/+104
| | | | | | | | Add a new clocking mode to automatically configure arbitrary master clock rates. Co-authored-by: Brent Stapleton <brent.stapleton@ettus.com> Co-authored-by: Martin Braun <martin.braun@ettus.com>
* cmake: Improve logic for UHD_IMAGES_DIRA. Maitland Bottoms2018-11-151-2/+0
| | | | | A CMake option is either On or Off. UHD_IMAGES_DIR gets a sane default if not specified on the CMake command line.
* cmake: Add SOURCE_DATE_EPOCHA. Maitland Bottoms2018-11-151-0/+5
| | | | | Reproducible builds set SOURCE_DATE_EPOCH rather than arbitrary build timestamps. Use it if set, otherwise revert to the old way.
* python: populated the tune_result_t bindingKevin Rigney2018-11-151-0/+6
| | | | | | The Python API bindings for the tune_result_t structure was not complete. This caused problems when trying to use it, as when tuning the TwinRX daughtercard.
* python: adding device_addr_t to Python APIBrent Stapleton2018-11-142-0/+33
| | | | | | | Add support for device_addr_t to the Python API. Most functions are exposed normally. The main exception is the constructor from a map of strings, which is replaced by a factory function called `make_device_addr`.
* python: tighten the scope of releasing the GILBrent Stapleton2018-11-141-20/+22
| | | | | Only release the GIL for the calls to send() and recv(), instead of the entire wrapper functions.
* python: expose streamer timeoutsBrent Stapleton2018-11-141-16/+27
| | | | | | Expose optional timeouts on send, recv, and recv_async_msg. These timeouts do not apply to the setup in the wrapper functions, only the calls to the streamer functions.
* n3xx: removing HA, XA image packagesBrent Stapleton2018-11-142-48/+14
| | | | | | | - Removing the Aurora image package from the images manifest. It was previously commented out, and hasn't been updated, so we're not actually losing anything here. - Moving the N310 and N300 _AA image to the _default image package
* rh: fix typo in initMark Meserve2018-11-141-1/+1
| | | | - This broke tx streaming via the multi_usrp API.
* uhd: Add device arg to enable dual ethernet for txCiro Nishiguchi2018-11-142-2/+17
| | | | | | | | UHD currently only uses a single ethernet link for tx data, even if the device is initialized with dual 10GbE links. Using both links when a DMA FIFO is present causes sequence errors due to DMA FIFO bandwidth limitations. This maintains the current default behavior but allows users to override it through a device arg "enable_tx_dual_eth".
* cmake: Update coding style to use lowercase commandsMartin Braun2018-11-14134-2398/+2401
| | | | | | | | | | | | | | | | | Also updates our coding style file. Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code (with GNU compliant sed): cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done > convert.sed \ && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' \ '*CMakeLists.txt' | xargs -0 gsed -i -f convert.sed && rm convert.sed (Make sure the backslashes don't get mangled!)
* python: Adding phase alignment exampleBrent Stapleton2018-11-141-0/+545
| | | | | | | | | | | | | | This tool uses the Python API to determine if USRP devices are receiving a phase aligned signal. It is designed to be a stand-in replacement for usrp_phasealignment.py, although the capabilities and invocation are not identical. The return value of this tool will indicate whether the signal is sufficiently phase aligned, and allows integration into scripts or other test frameworks. This tool also includes options to save data to file or plot it using PyLab. Currently only supports 2 channel RX phase alignment.
* mpm:e320: fixup gps_locked typeTrung Tran2018-11-131-1/+1
| | | | gps_locked should be a bool not int.
* mpm:gpsd_iface: handle errors from gpsdTrung Tran2018-11-131-50/+87
| | | | | | | gpsd connection is not reliable. Adding more error handling to re-connect during polling. Add control flows to get_gps_time in order to give an effect of getting the value on pps edge.
* mpmd: increase rpc timeout during reading mb sensorTrung Tran2018-11-131-1/+4
| | | | | | | Reading motherboard sensor, sometimes, takes more than 2 seconds. We don't have asynchronous RPC, increase this timeout will help long sensor reading such as reading GPSD value when GPSD connection is unreliable.
* utils: Fix downloader return value for main()Martin Braun2018-11-131-7/+11
| | | | | | This is effectively a refactoring: The main() function now returns True on success. This fixes a bug where one branch would simply return (None) instead of returning a value.
* utils: Downloader stall on error for Windows usersMartin Braun2018-11-131-2/+30
| | | | | | | | | If platform.system() is 'Windows', the Python script will stall on error before terminating, e.g., when an import is missing or when an unexpected Exception occurred during the execution. The rationale is that many Windows users run this script directly, without a shell, and wouldn't have a way to see error messages from the script in that case.
* utils: uhd_images_downloader: Remove archive typeMartin Braun2018-11-131-28/+22
| | | | | | | Since the uhd_images_downloader is so tightly integrated into our infrastructure, we've dropped support for .tar.gz and .tar.xz file for this particular purpose. Note that UHD releases still receive images in all three formats.
* utils: uhd_images_downloader: Refactor the toolMartin Braun2018-11-131-115/+153
| | | | | No functional changes. The main effort was to reduce the length of main() and reduce the number of Pylint warnings.
* utils: Allow downloader to ship non-zip filesMartin Braun2018-11-131-5/+13
| | | | | | Note: All archives shipped using this tool are zip files. However, this allows us to ship other types of files, which will be downloaded and sorted into the images directory as-is.
* images: Updated filesystem to latest maint imagesMartin Braun2018-11-131-3/+7
|
* utils: uhd_images_downloader: Add download limitMartin Braun2018-11-131-1/+25
| | | | | | | | | | | | | | This download limit prevents users from accidentally downloading really large files. The default limit is 100 MiB. When a file is selected for download that exceeds this size, the user is prompted if she really wants to download that file. By specifying --yes (or -y), this can can be bypassed. Example: $ uhd_images_downloader --yes -t sdimg Will match all files that match 'sdimg', which are typically larger than 100 MiB, without interaction.
* utils: uhd_images_downloader: Add --yes optionMartin Braun2018-11-131-0/+25
| | | | | | | | | This will answer 'yes' to all questions that are asked and allows to script the downloader. Example: $ uhd_images_downloader -t sdimg -y Any interaction that the script will have with the user will be skipped.
* utils: add downloader printing fetchable URLsMartin Braun2018-11-131-12/+24
| | | | | | | | | | | | | | Running $ uhd_images_downloader -l will now print the full URL of the target. By specifying $ uhd_images_downloader -l --url-only It will *only* print the URLs, nothing else, making this suitable for scripting. The list will always go to stdout, whereas the logging is going to stderr and thus can easily be siphoned off.
* utils: Make uhd_images_downloader log to stderrMartin Braun2018-11-131-2/+2
|
* coding guidelines: Add .at() vs [] commentMartin Braun2018-11-131-0/+5
|