aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* mg : implement set_bandwidthTrung N Tran2018-02-084-17/+27
|
* mpm: ad937x: implement set_bw_filterTrung N Tran2018-02-083-6/+24
|
* mpm: Use prefs API for periph managerMartin Braun2018-02-085-16/+52
| | | | | | | | - Allow to set default args via config file - Read them from prefs API - override-db-pids uses the same APIs now ([overrides] section in config file, prefs API, and same dictionary as --default-args when used on the command line
* mpm: Use prefs API in logging moduleMartin Braun2018-02-081-6/+6
| | | | This allows to set the default log level from the config file.
* mpm: Add prefs modulesMartin Braun2018-02-084-2/+99
| | | | | - prefs is a module for centralized preferences management - Uses Python's ConfigParser module
* mpm: ad9371: Enable separate RX1/RX2 enable pinsTrung N Tran2018-02-081-2/+2
| | | | | | For each channel, we have individual enable input trigger. Reviewed-by: Martin Braun <martin.braun@ettus.com>
* 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.
* fixup! mpm: Changed mpm_shell to support scripted useMoritz Fischer2018-02-071-26/+31
| | | | Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* mpm: magnesium_update_cpld.py: Add axi_bitq supportMoritz Fischer2018-02-071-19/+65
| | | | | | | | | | | | Add axi_bitq support. In order for this to work we need several conditions to be true: - Updated openocd - FPGA image with axi_bitq built in and hooked up to correct pins - Updated overlays matching the FPGA image - An svf file with correct max frequency <= 10MHz Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* 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>
* mpm: n310: Return CHDR addresses as part of device_infoMartin Braun2018-02-074-1/+56
| | | | Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* fixup! mpm: Fixup for argument parsing in N310Martin Braun2018-02-071-1/+9
|
* mpm: rpc_server: Declare local connection for *all* local IPsMartin Braun2018-02-071-2/+3
| | | | | | Before, it was possible to trick the RPC server in believing a connection was remote when the incoming connection was from a local IP address that was not 127.0.0.1.
* mpm: net: Add get_local_ip_addrs() methodMartin Braun2018-02-071-1/+15
|
* mpm: n310: Removed superfluous importMartin Braun2018-02-071-1/+0
|
* 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>
* mpm: Fixup for argument parsing in N310Brent Stapleton2018-02-072-3/+5
| | | | | | | Adding helper function to parse strings to a boolean value. We can then use that function to parse MPM's default_args, and set enable_gps and enable_fp_gpio. This replaces the usages of the Python builtin bool(), which returns True for any non-empty string.
* mpm: n310: bist: Add error_msg for temp bist if no sensores were foundMartin Braun2018-02-071-1/+3
|
* Docs: Update procedure for testing phase synchronizationmichael-west2018-02-041-47/+82
|