aboutsummaryrefslogtreecommitdiffstats
path: root/host
Commit message (Collapse)AuthorAgeFilesLines
* uhd: Move internal headers to uhdlib/Martin Braun2018-03-14168-417/+280
| | | | | | | | | | | | | | | | 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>
* debian: Add UHDConfig.cmake to install list for libuhd-devMartin Braun2018-03-131-0/+1
|
* legacy: fix legacy compat to work with 2TX radio blockTrung N Tran2018-03-131-89/+230
| | | | | | | This change will allow legacy compat connect any in/out ports radios/ddcs/ducs/dmafifo block connect together in a legacy graph: [HOST]=>DFIFO/SFIFO=>DUC=>RADIO=>DDC=>[HOST]
* rfnoc: modify duc.xml and radio_x300.xml;add duc_single.xmlTrung N Tran2018-03-133-11/+151
|
* mg: reduce to 2 radios for n310Trung N Tran2018-03-133-193/+61
|
* x300: improve lvbitx bitstream md5 read timeMark Meserve2018-03-131-10/+20
| | | | | - Reading line by line avoids loading the entire 25 MB bitstream into memory since the MD5 hash usually occurs within the first 1% of the file stream
* docs: Update N3xx pageMartin Braun2018-03-131-18/+128
| | | | | | - Added notes on crosscompiling - Added notes for N300 - Fixed some TODOs
* cmake: add manual override option to UHD_VERSIONAndrej Rode2018-03-072-1/+6
|
* uhd: Fix some log statementsAndrej Rode2018-03-074-7/+5
| | | | Some log statements were incorrectly using multi-line log statements.
* uhd: Moved get_system_time outside of public APIMartin Braun2018-03-0513-148/+188
| | | | | | | uhd::get_system_time() is an abstracted way of reading back a time, and is not UHD-specific. As such, there's no reason to keep it in the public part of the API where we're contractually obligated not to touch it. Instead, moving it to the internal API space.
* uhd: Removed atomic.hpp from public APIMartin Braun2018-03-053-5/+5
| | | | | | | atomic.hpp defines a spin lock and a lockfree mutex. There is no reason to have standard constructs in the public API, where we're contractually obligated to not touch them. Thus, moving them into the internal API space.
* utils: Removed deprecated utilitiesMartin Braun2018-03-055-362/+1
| | | | | | This removes all the tools that have been declared deprecated for a while. No functionality is removed, all utilities have a separate equivalent, e.g., with uhd_image_loader.
* debian: Add MIT license to list of full-text licensesMartin Braun2018-03-051-0/+19
| | | | This averts some Lintian errors
* Update master branch for 3.11.0.0 releaseMartin Braun2018-03-052-0/+27
| | | | | | - Updated fpga-src submodule pointer - Updated CHANGELOG - Updated Debian-related files
* twinrx: correct the maximum daughterboard gainMark Meserve2018-03-021-1/+1
| | | | - changes static max gain value from 95 to 93 to match new gain tables
* n310: Make MPM report FPGA version and description, UHD read itMartin Braun2018-03-021-2/+6
| | | | | | | The FPGA and MPM version as well as the description of the device ("N300-Series Device") and its name (its the hostname) are now properly reported coming from MPM, properly saved in the prop tree, and uhd_usrp_probe can nicely display them this way.
* mpm: uhd: RPC server reports MPM version, uhd_usrp_probe reads itMartin Braun2018-03-021-0/+3
|
* utils: Skip progress bars for non-tty outputsMartin Braun2018-03-011-1/+5
|
* utils: Reenable UHD_IMAGES_DIR env var for uhd_images_downloaderMartin Braun2018-03-011-3/+11
| | | | | | This was forgotten in the transition to the new downloader. The command line options --install-location will still override the env variable if it exists.
* utils: Increase verbosity on uhd_images_downloaderMartin Braun2018-03-011-6/+4
|
* cmake: force cmake to regenerate uhd_images_downloader.pyTrung N Tran2018-02-271-0/+8
| | | | ... when manifest.txt changed.
* Revert "utils: images downloader: forced update of CMake variable"Trung N Tran2018-02-272-16/+5
| | | | This reverts commit cf1bf696649c958c53d7f4cf0a280242c254e4be.
* devtest: Add list_sensors testMartin Braun2018-02-273-0/+37
|
* uhd: Move some gpio_defs constants definitions out of headersMartin Braun2018-02-274-110/+130
| | | | Reviewed-by: Trung Tran <trung.tran@ettus.com>
* test: devtest: devtest_e3xx.py: Fix copy & paste errorMoritz Fischer2018-02-261-1/+0
| | | | | | | | | | Fix copy & paste error where "B210" type made it's way into the E3XX test. Fixes 88b0baeaf ("tests: More devtests, works on E3XX now") Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> Signed-off-by: Martin Braun <martin.braun@ettus.com>
* fixup! x300,n230,e300: changes to adapt to new usrp APIMartin Braun2018-02-233-6/+6
| | | | Fixes some compiler warnings.
* x300: Fixed processor clock rate in ZPU firmwareAshish Chaudhari2018-02-231-2/+2
| | | | | - Fix for regression that was introduced after the bus_clk freq change - Firmware compat number bumped to 6.0 (was 5.2)
* Preparing branch for 3.11.0.0 releaseMartin Braun2018-02-221-1/+1
| | | | | - Updated version string - Updated CHANGELOG
* fixup! x300,n230,e300,b200: changes to adapt to new usrp APITrung N Tran2018-02-224-20/+47
|
* x300,n230,e300: changes to adapt to new usrp APITrung N Tran2018-02-213-26/+111
|
* usrp: Add set_gpio_attr overload that use stringTrung N Tran2018-02-214-61/+341
| | | | | | | | | | | | | 1/ multi_usrp.hpp; multi_usrp.cpp: added new functions - set_gpio_attr() that allow user to set certain attribute by string value. - get_gpio_string_attr() return string type value of certain attribute. 2/ gpio_defs.hpp; gpio_atr_3000.cpp : added new definition of SRC attribute. This commit enable user to use multi_usrp api to set_gpio_attr using string value. This is helpful; because the attribute can represent more than two state as of old API. This enable user to set SRC (source) that drive each GPIO bank's pin. Source can be either processing unit(PS) or radio frontend logic from FPGA logic.
* n3xx: add front panel gpio control registersTrung N Tran2018-02-212-7/+127
|
* 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.