aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Ubuntu PPA: Update debian informationmichael-west2018-02-194-770/+1465
|
* 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.
* fixup! utils: refactor uhd_images_downloaderBrent Stapleton2018-02-151-1/+1
|
* 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.
* mpm: mg: Move MgCPLD, TCA6408, DboardClockControl class to own moduleMartin Braun2018-02-143-195/+209
|
* mpm: Add RAII style GIL release mechanism to Python libraryMartin Braun2018-02-131-2/+28
| | | | | Note: This commit does not actually apply the GIL release, it only provides the class to do so.
* 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
|
* mpm: n310: Remove some leftover cruftMoritz Fischer2018-02-131-2/+0
| | | | | | | The lines removed here are no longer needed, get rid of them Suggested-by: Martin Braun <martin.braun@ettus.com> Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* mpm: Add entries for renamed sfpsMoritz Fischer2018-02-132-2/+14
| | | | | | | | | | | | | In order to match the front panel 0 and 1 for the SFPs, as well as for clarity and consistency reasons, udev rules will be put onto future filesystems in order to rename the eth1 eth2 devices to sfp0 and sfp1. This change *should* be backwards compatible, nevertheless, be careful and bump compat number. This also updates the uhd image loader manifest. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* mpm: mg: add cpld revision to dboard infoTrung N Tran2018-02-121-5/+7
| | | | Reviewed-by: Martin Braun <martin.braun@ettus.com>
* 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
* fixup! mpm: magnesium_update_cpld.py: Add axi_bitq supportBrent Stapleton2018-02-092-1/+1
|
* 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.
* mpm: remove GPIOBank.set_all functionTrung N Tran2018-02-092-13/+20
| | | | | | | | -set_all function doesn't fit well with the GPIO api. It is rather a test sepecific function. -Add gpio_set_all helper to n3xx_bist. Reviewed-by: Martin Braun <martin.braun@ettus.com>
* 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
|