aboutsummaryrefslogtreecommitdiffstats
path: root/host
Commit message (Collapse)AuthorAgeFilesLines
* rfnoc,x300: Multiple clocking changesAshish Chaudhari2018-02-213-5/+5
| | | | | | - Moved bus_clk <=> ce_clk crossing to axi_wrapper in FPGA which resulted in a noc_shell compat bump - Change x300 bus_clk frequency to 187.5 MHz
* uhd: device: Auto-apply config file options to USRPsMartin Braun2018-02-201-2/+7
|
* docs: Add page for config filesMartin Braun2018-02-202-0/+76
|
* lib: Add 'prefs' APIMartin Braun2018-02-204-1/+186
| | | | | | | | | | | | | This defines and reads configuration files that can be used to customize UHD's behaviour. On Unix systems, they default to: /etc/uhd/uhd.conf $APPDATA/.uhd/uhd.conf On Windows systems, it will look in: %ProgramData%/uhd/uhd.conf %AppData%/.uhd/uhd.conf
* lib: Add path_expandvars() internal API callMartin Braun2018-02-206-0/+167
|
* mpmd: Fix typo in image loaderMartin Braun2018-02-201-3/+4
|
* fixup! rfnoc: Refactor radio_ctrl_impl, remove some BoostAshish Chaudhari2018-02-201-5/+5
|
* examples: Fix some minor compiler warningsMartin Braun2018-02-199-20/+41
| | | | All warnings reported by MSVC. Mostly related to narrowing conversions.
* mpmd: image loader: add default pathBrent Stapleton2018-02-191-5/+58
| | | | | | | | | | | Added default FPGA image path, similar to how we do it in X300. We determine the path to the fpga image path by checking the following: 1. --fpga-path provided by the user and that file exists 2. FPGA type (`fgpa`) provided in the args 3. Checking the fpga type of the currently loaded image on the device (pulled through `MPM.get_component_info`) 4. Otherwise, error out
* mpmd: add getter for components in property treeBrent Stapleton2018-02-192-4/+32
| | | | | | Adding a publisher for updateable components listed in the property tree. This calls MPM.get_component_info for the desired component, and returns a dictionary containing that metadata.
* mpmd: components: Add doxygen for update componentBrent Stapleton2018-02-191-0/+6
| | | | Adding doxygen comment for _update_component in mpmd.
* uhd: Update license headersMartin Braun2018-02-19811-763/+1501
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* rfnoc: Check noc_shell compat number at runtimeMartin Braun2018-02-193-9/+29
|
* ddc: duc: Factor out usage of boost::bind()Martin Braun2018-02-192-32/+54
| | | | Replace with lambdas.
* rfnoc: Factor out ceil_log2() into central locationMartin Braun2018-02-193-13/+32
| | | | - New file: uhdlib/utils/math.hpp
* rfnoc: Factored out FPGA compat checkMartin Braun2018-02-195-89/+234
| | | | | - Applied changes to DUC and DDC blocks - Fixed minor formatting
* Ubuntu PPA: Update debian informationmichael-west2018-02-193-769/+1464
|
* examples: replace `boost::format%(a,b)` by `(boost::format%a%b)`Marcus Müller2018-02-191-1/+1
| | | | | | | | The former compiles to evaluating `a`, then throwing away the result, evaluating `b`, then using that to fill in the first placeholder in `format`. And that is wrong. Pointed to this by Clang++'s "unused result" warning.
* mg: Fixed typo in set_rx_bandwidth()Martin Braun2018-02-151-2/+4
|
* docs: Added front- and rear panel info to N310 manualMartin Braun2018-02-155-0/+36
|
* utils: images downloader: adding SHA256 supportBrent Stapleton2018-02-151-6/+15
| | | | | Adding SHA256 checking for downloaded image archives. The expected SHA is read from the manifest, and checked after the download completes.
* utils: images downloader: adding --keep supportBrent Stapleton2018-02-151-4/+6
| | | | | When users supply the --keep argument, image archives are saved in the images directory alongside the image files.
* mg: turn on tx power amplifiers when idleTrung N Tran2018-02-142-10/+11
| | | | | | Without turning on tx power amplifer when being idle, the TX settling time is 100ms. Turning these power amplifiers on "all time" results in tx settling time around 140us.
* docs: Updates to the N310 manualMartin Braun2018-02-132-16/+72
|
* C API: Properly free streamers to support streamer re-creation.michael-west2018-02-121-24/+14
|
* mpmd: Fix compiler issuesMartin Braun2018-02-103-7/+5
| | | | | | - Initialization of device_addr_t from another using auto doesn't work across compilers - Moved MPMD_DISC_RESPONSE_PREAMBLE to mpmd_find where it belongs
* mg: Temporarily disable concurrency in parts of set_rpc_client()Martin Braun2018-02-092-1/+15
| | | | | | There is an issue with parallel inits and liberio which crops up during initialization. This is not a fix but is a workaround which enables the parallel initialization of devices using liberio.
* fixup! mpmd: Factor find and prop tree init code out of mpmd_impl.cppBrent Stapleton2018-02-092-4/+3
|
* docs: Add N310 FPGA reg map to manualMartin Braun2018-02-081-0/+151
|
* rfnoc: Refactor radio_ctrl_impl, remove some BoostMartin Braun2018-02-082-56/+74
| | | | | | - Replaces some very verbose boost::bind() with simpler lambdas - Replaces some boost:tuple with std::tuple - Replaces some Boost locks with std locks
* mg: Fix some compiler warningsMartin Braun2018-02-081-20/+39
| | | | | - Superfluous captures in lambdas - Make use of new TX bandwidth API
* rfnoc: Add TX bandwidth APIs to radio_ctrlMartin Braun2018-02-083-0/+32
|
* mg : implement set_bandwidthTrung N Tran2018-02-084-17/+27
|
* UBX: Add support for CAL antenna for rev Emichael-west2018-02-081-1/+4
|
* mpmd: Factor find and prop tree init code out of mpmd_impl.cppMartin Braun2018-02-075-461/+503
| | | | No functional changes.
* utils: Use find_all in uhd_find_devicesMartin Braun2018-02-071-4/+19
| | | | | | This enables finding all N310 devices, even if they're not available Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* mpmd: Let 'find' via broadcast check for reachabilityMartin Braun2018-02-074-6/+198
| | | | | | | | | In particular, when running uhd_find_devices, this will limit the devices to ones that can actually be reached via CHDR. There is a new key, find_all, which allows finding all devices even those not reachable from UHD. Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* utils: images downloader: default download printBrent Stapleton2018-02-071-3/+5
| | | | | | | | Adding a message at the INFO log level (the default) to tell users that downloads have begun. Also added the filename being downloaded to the progress bars. Reviewed-by: Martin Braun <martin.braun@ettus.com>
* Docs: Update procedure for testing phase synchronizationmichael-west2018-02-041-47/+82
|
* utils: images downloader: adding dry run optionBrent Stapleton2018-02-031-17/+23
| | | | | | Command line argument --dry-run is now available. This runs through the downloader without actually downloading any files or editing the inventory file.
* utils: Fix query_gpsdo_sensors so it works for TCXO on B200michael-west2018-02-011-0/+3
|
* cmake: Re-add requirement for Python requestsBrent Stapleton2018-02-011-5/+5
| | | | Uncommenting a CMake check for the Python module requests.
* lib: Add config_parser classMartin Braun2018-02-015-0/+291
| | | | | | | This class is not publicly exported. It is meant to read config files in the INI format. Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* mpmd: image loader: increased timeoutBrent Stapleton2018-01-292-2/+4
| | | | | | | | -Increased timeout from 10s to 20s. This time is also per component file being updated. For example, when updating the FPGA with new .bit and .dts files, the timeout will be 40s. -Also added log message to let user know their device is updating, not frozen.
* utils: images downloader: forced update of CMake variableBrent Stapleton2018-01-292-5/+16
| | | | | | | | | Moved the uhd_images_downloader.py.in configuration to its own script so that the manifest file is added as a dependency and read into a CMake variable. Reviewed-by: Ashish Chaudhari <ashish@ettus.com> Reviewed-by: Martin Braun <martin.braun@ettus.com>
* usrp3: Changes for Vivado 2017.4Ashish Chaudhari2018-01-243-3/+3
| | | | | | - Bumped compat number for e3xx, n230, x3xx, n3xx - Updated images package for e3xx, n230, x3xx, n3xx - Updated fpga-src submodule
* utils: refactor uhd_images_downloaderBrent Stapleton2018-01-232-333/+325
| | | | | | | | | | | | | | | | | Changing structure of the files.ettus.com images directory, and updating uhd_images_downloader correspondingly. The images downloader now downloads a number of smaller archives of images, instead of one large archive containing all of our images. Furthermore, the images downloader maintains an inventory of currently installed images, so that images are not redownloaded unnecessarily. When called with no arguments, behavior should not change. CMake variables are used to populate a number of fields in the images downloader, including the contents of the manifest file. Reviewed-by: Martin Braun <martin.braun@ettus.com> Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
* docs: Add explanation for init_cals and tracking_cals keys on N310Martin Braun2018-01-231-2/+60
|
* logging: Minor refactoring, skip empty log messagesMartin Braun2018-01-231-75/+102
| | | | | | | Empty log messages are now skipped for faster processing. The 'terminating' log message is now also empty (and thus skipped). Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* fixup! rpclib: fix use of "boost::asio::strand" -> ↵Martin Braun2018-01-221-1/+2
| | | | "boost::asio::io_service::strand"