aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* uhd: Remove usage of time_t (except when required)Martin Braun2018-08-2013-41/+43
| | | | | | | | | | The C/C++ standards don't define what time_t is, only that it is arithmetic (and real for C11, and integral for C++). It should not be used in portable software and is only used as the return value for some libc calls. A common definition for time_t is int64_t, so we'll switch to that permanently in our own APIs. System APIs will of course stick with time_t.
* mpm: mg: move init_rf_cal before JESD de/framer bringupTrung Tran2018-08-161-4/+4
| | | | This sequence is the one as described by the AD9371 user guide.
* docs: b200: Add info on how to modify FPGA and access user settingsMartin Braun2018-08-161-0/+26
|
* multi_usrp: Add get_user_settings_iface() API callMartin Braun2018-08-162-0/+39
| | | | | | | | | | | For USRPs that support user settings (e.g., B2xx, N230), this will return an object that will allow peeking and poking user-defined settings registers. Mock code example: auto usrp = multi_usrp::make(...); auto user_settings_iface = usrp->get_user_settings_iface(); user_settings_iface->poke32(0, 23);
* b200: Enable access to user regs via the 'enable_user_regs' argMartin Braun2018-08-163-4/+31
|
* b200: Remove superfluous fake lambdaMartin Braun2018-08-161-11/+10
| | | | No functional changes. Cleanup only. A little less Boost.
* e320: images: Separate images package for Aurora imageSugandha Gupta2018-08-131-2/+6
| | | | | | We will have two image packages for E320 - default - 1G and XG - aurora - AA
* mpm: n3xx: Improve error messages for invalid clock/time settingsMartin Braun2018-08-131-2/+4
|
* mpm: n3xx: Bump max rev to G/6Martin Braun2018-08-101-1/+1
|
* devtest: Integrate Python API Tester into DevtestVidush2018-08-104-2/+63
|
* devtest: Add more env vars, make Py3k compatibleMartin Braun2018-08-102-8/+18
| | | | | The testsuite now includes more environment variables for source dir, build dir, and PYTHONPATH.
* x300: Enable clock_source and time_source device argsMartin Braun2018-08-102-4/+15
| | | | | | | | | | You can now change the time/clock source default through device args: auto usrp = uhd::usrp::multi_usrp::make( "type=x300,clock_source=external,time_source=external"); This also enables the use of config files for the clock/time source implicitly.
* x300: Use constrained_argsMartin Braun2018-08-104-48/+222
| | | | | | | x300_impl will now use a constrained_device_args_t-derived object to parse device args. No API or functional changes.
* lib: Improve constrained_device_args_tMartin Braun2018-08-101-2/+14
| | | | | - Add default parser helper - Allow _enforce_discrete() for str_arg
* x300: Move defaults to their own headerMartin Braun2018-08-103-116/+159
| | | | | | | Also puts all defaults into the uhd::usrp::x300 namespace. This commit does some renaming and refactoring, but no functional changes.
* e320: Enable devtest for E320Sugandha Gupta2018-08-092-0/+58
| | | | - All tests pass except for gpio_test
* e320: Fix tx/rx atr - antenna and frequency settingsSugandha Gupta2018-08-095-30/+32
| | | | | | - Change RX/TX min/max frequency according to AD9361 datasheet - Fix set_atr_bits to change with rx/tx frequency and antenna independently - Make AMP switching active high
* e320: Add all 5 temp sensors, fan sensor and rssi sensors per channelSugandha Gupta2018-08-092-21/+42
|
* mpm: sys_utils: Get list of temperatures from all thermal zonesSugandha Gupta2018-08-091-4/+21
|
* e320: bist: Add link_up testSugandha Gupta2018-08-061-0/+26
| | | | - Returns true if the link of sfp0 is up (1G/10G)
* python: Fixing Boost.Python initializer visibilityMarcus Müllr2018-08-032-2/+13
| | | | | | With Boost 1.64 to 1.65 (which, of course, Ubuntu LTS ships), the `PyInit_Libraryname` are invisible when one sets the default visibility to "hidden" (which is reasonable, and which we do).
* fixup! mpm: mg: add set_master_clock_rate memberMartin Braun2018-08-031-2/+2
|
* rfnoc: dma_fifo: Added a more robust flush mechanismAshish Chaudhari2018-08-032-36/+60
| | | | | | | | | - The flushing mechanism now looks similar to that in noc_shell - Make use of new flush bit in FIFO control register - Restrict using the clear bit only after flushing to ensure no partial packets are introduced in the stream. (clear immediately empties out FIFOs) - Changes are backwards compatible with older FPGAs
* doc: add clock_source and time_source to n3xx argument list. fix WR ↵Daniel Jepson2018-08-031-2/+5
| | | | clock_source call
* rfnoc: examples: Removed some legacy code patterns from RFNoC examplesMartin Braun2018-08-022-34/+45
| | | | | - Unnecessary use of Boost - Use of thread_priority.hpp
* adf400x: Fix adf400x driver for ref counter and charge pump modeSugandha Gupta2018-08-021-11/+19
| | | | | | | - For different ref clock frequencies, the ref_counter should change and not the n_counter. - The charge pump should be set to normal mode and tristate as that would prevent the PLL to lock.
* e320: bist: Fix ref_clock lock test implementationSugandha Gupta2018-08-021-24/+42
| | | | | | | - ref_clock_(int/ext) test was not changing adf400x driver settings for new ref clock frequency. Therefore, changed the implementation to use uhd_usrp_probe --sensor to set clock_source and get 'ref_locked' sensor value
* mg: Allow calling set_rate() at runtimeMartin Braun2018-08-022-6/+38
|
* mpm: mg: add set_master_clock_rate memberDaniel Jepson2018-08-022-0/+13
|
* mpmd: Allow setting time_source and clock_source propsMartin Braun2018-08-021-24/+4
| | | | | Before, setting these properties in the prop tree would trigger an exception.
* mpm: n3xx: clocking API changes for transitioning clock and time sourcesDaniel Jepson2018-08-024-101/+231
| | | | | | Added set_sync_source method to set both the time and clock sources without forcing a re-init twice. Modified the existing set_time_source and set_clock_source methods to call into set_sync_source.
* mpm: mg: periphs: Modify AD9361 reset function to keep it in resetMartin Braun2018-08-021-2/+9
|
* uhd: python: CMakeLists.txt change dll to pydTrung Tran2018-08-011-1/+7
| | | | To support python api installer
* python: Enable Python API on non-WindowsBrent Stapleton2018-08-011-1/+5
| | | | | | | | | On non-Windows platforms, enable the Python API by default in CMake. Enabling the Python API in Windows causes build failures- that is, we currently can't detect if the requirements are met in the Windows build system. Because of that, we'll leave it disabled by default for now.
* Definitions of MASK_GPIO_SHDN_SW and GPIO_AUX_PWR_ON Errorsfenggnef2018-08-011-2/+2
| | | | | MASK_GPIO_SHDN_SW ( GPIO[52] ) should be shifted by "GPIO_SHDN_SW" but "GPIO_FX3_SCLK ". Otherwise GPIOs of FX3 will initial GPIO_FX3_SCLK ( GPIO[53] ) as GPIO and SPI respectively. It will make GPIO[53] conflict between SPI and GPIO, and SHDN_SW will not work properly as a power switch.
* docs: n3xx: Add section on building fs/SD imagesMartin Braun2018-08-011-0/+47
| | | | | Adding section in the manual on how to build filesystems and SD card images.
* x300: Log git hash and compat number as debug messageMartin Braun2018-08-011-3/+8
|
* e320: Update temp and fan bistSugandha Gupta2018-07-311-10/+21
| | | | | - Add mapping for 5 thermal zones for TMP464 - Update to one cooling_device as e320 has 1 fan (optional)
* e320: Add e320 to images package scriptSugandha Gupta2018-07-311-0/+19
|
* e320: update sfp loopback test to load AA FPGA imageSugandha Gupta2018-07-311-19/+76
| | | | | - Load AA FPGA image before sfp bist and load default image after the test
* e320: Fix front panel gpio to support 3.3VSugandha Gupta2018-07-313-24/+19
| | | | | - E320 will support only 3.3 V for the front panel GPIO - Remove other voltage options
* e320: Add 'ref_locked' sensor to mboard sensorsSugandha Gupta2018-07-311-0/+14
|
* b100: Demote some clocking-related log messages to traceMartin Braun2018-07-311-2/+2
|
* b100: Remove all Boostisms from fifo_ctrl_excelsiorMartin Braun2018-07-311-9/+9
|
* b100: Fix fifo_ctrl_excelsior not exitingMartin Braun2018-07-311-13/+2
|
* b100: Move fifo_ctrl_excelsior to b100 subdirMartin Braun2018-07-315-2/+2
| | | | | This device is the only one using it, and no one will ever use it going forward.
* lmx2592: fix calibration start during tuningMark Meserve2018-07-311-1/+3
| | | | - This bug could cause LO to not lock properly after a set_frequency call
* lmx2592: always mux lock detect after initMark Meserve2018-07-311-9/+5
|
* fixup! multi_usrp: Expose APIs for TX LO controlsMartin Braun2018-07-311-0/+1
| | | | | | This is a fixup of a pretty old commit, but necessary. It adds a UHD_USRP_MULTI_USRP_TX_LO_CONFIG_API macro for detection of TX LO controls, which should have been in the original commit.
* docs: Fix Doxygen warningsMartin Braun2018-07-313-5/+5
|