aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mpm: Update EEPROM tools to allow setting PIDMartin Braun2018-03-052-7/+23
| | | | | | Default behaviour is to fall back to writing the N310 PID (0x4242). Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com>
* 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-053-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-023-3/+20
| | | | | | | 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-022-0/+4
|
* mpm: net: Add get_hostname()Martin Braun2018-03-021-0/+3
|
* mpm: n3xx: Fix usage of UIO in Aurora testsMartin Braun2018-03-012-40/+61
|
* mpm: n3xx_bist: Fix regex to match with optional spacesugandhagupta2018-03-011-1/+1
| | | | | | Fix regex so it matches an optional additional space. Signed-off-by: Sugandha Gupta <sugandha.gupta@ettus.com>
* utils: package_images: create image packagesBrent Stapleton2018-03-012-0/+503
| | | | | | | | | | | | -package_images.py looks at files in the current directory, and builds all image packages that it can from the available files. -image_package_mapping.py defines a nested dictionary that maps targets (not tied to any other target definition) to the archive name and constituent files. -users can provide a manifest file with the --manifest option. If provided, the new repository and githash, as well as the new SHA256 sums calculated during the packaging process, are added to the manifest file.
* 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
|
* mpm: n310: Default-initialize some membersMartin Braun2018-02-281-4/+4
| | | | | This allows flawless execution of code paths regardless of initialization status.
* mpm: periph_manager: Guarantee self.dboards existsMartin Braun2018-02-281-1/+1
| | | | | Other components assume the existence of mgr.dboards, and so it needs to be default-initialized before doing any code that can go wrong.
* 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-234-5/+5
| | | | | - 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-222-1/+57
| | | | | - 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_bist: set fp_gpio master to PSTrung N Tran2018-02-211-0/+2
|
* n3xx: add front panel gpio control registersTrung N Tran2018-02-213-8/+205
|
* rfnoc,x300: Multiple clocking changesAshish Chaudhari2018-02-216-15/+15
| | | | | | - 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.
* mpm: N310 updates FPGA information on initBrent Stapleton2018-02-193-2/+44
| | | | | | | | | -Adding MboardRegsControl.get_fpga_type(), which reads the SFP info registers and determines the FPGA image type (HG, XG, AA, etc). This is a minor FPGA compat number bump. -Adding N310._update_fpga_type(), which updates the component information using the get_fpga_type() function described above. This information can then be accessed through get_component_info().
* mpm: adding get_component_infoBrent Stapleton2018-02-192-1/+19
| | | | | Add getter function for updateable component information. This is a minor compat number bump.
* mpmd: components: Add doxygen for update componentBrent Stapleton2018-02-191-0/+6
| | | | Adding doxygen comment for _update_component in mpmd.
* mpm: Update all license headersMartin Braun2018-02-19110-203/+203
| | | | | - Fix typo in company name (missing 'a') - Updated SPDX license identifier to version 3.0
* 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