aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
Commit message (Collapse)AuthorAgeFilesLines
* examples: Add timeouts to benchmark_rateMartin Braun2016-03-211-1/+10
|
* examples: Re-enabled better thread interruption in benchmark_rateMartin Braun2016-03-211-32/+126
| | | | | | | The previous version (using atomic variables) was fine, but didn't work with all the Boost versions we currently support on the 3.9.X release line. This is a slightly less safe, but still sufficient example.
* Revert "examples: Modified benchmark_rate so thread interrupts cannot cause ↵Martin Braun2016-03-211-120/+32
| | | | | | problems" This reverts commit 8930d853f3ee2ac91fc7fd6b41046ca972da3c3f.
* examples: Modified benchmark_rate so thread interrupts cannot cause problemsMartin Braun2016-03-211-32/+120
|
* examples: TX/RX loopback stopping condition was reversedPaul David2016-03-031-1/+1
| | | No data was getting stored.
* examples: TX/RX loopback could run forever if the exact number of samples ↵DaulPavid2016-03-031-1/+1
| | | | isn't received
* Corrected the UHD behavior in the event of a USB disconnectDaulPavid2016-02-121-0/+6
|
* examples: Fixed error code variable in rx_samples_cMartin Braun2015-11-171-1/+1
|
* UHD: Add pps source option to tx_waveforms examplemichael-west2015-09-011-11/+30
|
* C API cleanup, feature additionsNicholas Corgan2015-08-122-2/+2
| | | | | | * Cleaned up usage of handles vs. handle pointers * Store global string for last error thrown * Removed uhd::device_addr_t handle, added std::vector<std::string> handle
* C API: feature additions, bugfixesNicholas Corgan2015-08-076-1420/+84
| | | | | | * Wrapped uhd::device_addrs_t, added find functions for multi_usrp, multi_usrp_clock * Replaced getopt with public domain implementation * Minor bugfixes
* uhd: C API wrapperNicholas Corgan2015-08-067-1/+2027
| | | | | | | * multi_usrp, multi_usrp_clock, and associated classes accessible through C * Added Doxygen documentation explaining structure and API * Simple RX and TX streaming examples * Unit tests for different parts of C interface and C++ error conversion
* Fixed minor warningsNicholas Corgan2015-07-241-1/+1
|
* Merge branch 'maint'Martin Braun2015-07-141-8/+18
|\ | | | | | | | | | | | | | | | | | | Conflicts: fpga-src host/CMakeLists.txt host/cmake/Modules/UHDVersion.cmake host/lib/usrp/b200/b200_impl.hpp host/lib/usrp/e300/e300_fpga_defs.hpp host/lib/usrp/x300/x300_fw_common.h
| * examples: Improved tx_waveform multi-channel syncMartin Braun2015-07-141-8/+18
| |
* | Merge branch 'maint'Martin Braun2015-06-092-0/+9
|\| | | | | | | | | | | | | Conflicts: host/lib/usrp/common/ad9361_ctrl.hpp host/lib/usrp/common/ad9361_driver/ad9361_device.h host/lib/usrp/e300/e300_remote_codec_ctrl.hpp
| * examples: Updated init_usrp example on note about CMake flagsMartin Braun2015-06-092-0/+9
| |
* | Fixed master-specific warningsNicholas Corgan2015-03-271-1/+1
| | | | | | | | | | * MinGW: unused parameter warning, MSVC-specific pragma * MSVC: bool narrowing
* | Merge branch 'maint'Martin Braun2015-03-273-7/+7
|\|
| * Warning fixesNicholas Corgan2015-03-273-10/+10
| | | | | | | | | | | | | | * CMake now not applying C++ flags to C files * GCC 4.4: anti-aliasing rules * MSVC: narrowing, differences in subclass function parameters * Clang: uninitialized variables
* | Merge branch 'maint'Martin Braun2015-03-111-2/+2
|\| | | | | | | | | Conflicts: host/include/uhd/transport/vrt_if_packet.hpp
| * uhd: Fixed several type-cast related warnings for naggy compilersMartin Braun2015-03-111-2/+2
| |
* | uhd: Fixed multiple compiler warningsMichael Dickens2015-03-111-4/+4
| | | | | | | | | | | | - Use ULL and LL etc. so compiler doesn't need to decide constant's types - define the empty 'while' loop to include {} to make older compilers happy - Use explicit type names for BOOST_CHECK_EQUAL
* | B200: UHD support for FPGPIO connector on REV6+ boards.Ian Buckley2015-03-093-419/+463
| | | | | | | | | | | | - GPIO on UART connector all board Revs - Consolidated fpgpio_bitbang into fpgpio example and renamed it gpio - Changed FP_GPIO readback address to match X300
* | Merge branch 'maint'Martin Braun2015-02-124-8/+8
|\| | | | | | | | | Conflicts: host/examples/rx_samples_to_file.cpp
| * examples: Show set_rx_bandwidth units properly in MHz in all examplesRajib Bhattacharjea2015-02-094-8/+8
| | | | | | | | | | Conflicts: host/examples/rx_samples_to_file.cpp
* | Merge branch 'maint'Martin Braun2015-01-191-4/+28
|\| | | | | | | | | Conflicts: host/include/uhd/types/CMakeLists.txt
| * cmake: Added ENABLE_STATIC_LIBS optionMartin Braun2015-01-191-4/+28
| | | | | | | | | | | | | | - Allows building static libraries - For users calling find_package(UHD), provides extra options for building apps statically linking UHD. - Updated the init_usrp example to link UHD statically.
* | Merge branch 'maint'Martin Braun2015-01-131-0/+9
|\|
| * examples: Fixed init_usrp for building with MSVCMartin Braun2015-01-121-0/+9
| |
* | Merge branch 'maint'Martin Braun2015-01-081-33/+43
|\|
| * examples: Fixed multi-channel gain and freq setup for txrx_loopback_to_fileMartin Braun2015-01-081-33/+43
| |
* | Merge branch 'maint'Martin Braun2014-12-156-27/+27
|\| | | | | | | | | Conflicts: host/examples/rx_samples_to_file.cpp
| * host/examples: rm'ed refs to d'boards, IF freq.Marcus Müller2014-12-126-28/+28
| | | | | | | | | | To reflect a reality where some USRPs don't have daughterboards, and set_xx_bandwidth doesn't necessarily set an /IF/ bandwidth.
| * examples: Fixed multi-channel opsMartin Braun2014-11-121-7/+52
| |
* | examples: Merged benchmark_rate and transport_hammerMartin Braun2014-11-133-294/+51
| |
* | examples: Fixed multi-channel opsMartin Braun2014-11-131-6/+53
| |
* | examples: Whitespace and other cleanupMartin Braun2014-10-288-196/+174
|/
* examples: Also bumped min Boost version in init_usrp exampleMartin Braun2014-10-251-1/+1
|
* changed parameter --time to --durationJulian Arnold2014-10-201-19/+15
|
* Rectifying a great embarassement in UHD. %s/Mhz/MHz.Ben Hilburn2014-10-071-2/+2
|
* examples: Minor change to tx_waveforms example.Moritz Fischer2014-10-071-3/+3
| | | | Signed-off-by: Moritz Fischer <moritz@ettus.com>
* e300/x300: gpio: Cleaned up example.Moritz Fischer2014-10-071-33/+76
| | | | | | | | | | | | | | | | | | | | * Now accounting for different width of GPIO banks. - for x3x0 use --bits=11 (default) - for e3x0 use --bits=6 * Replaced defines with static const variables. * Lowered default rates from 1Ms/s to 500Ks/s * Added parameter --gpio to allow selecting GPIO bank. - for x3x0 use --gpio="FP0" (default) - for e3x0 use --gpio="INT0" * Renamed e3x0's gpio bank to "INT0" in property tree, as they're not exposed to the outside. Signed-off-by: Moritz Fischer <moritz@ettus.com>
* uhd: Added an example for CMake usageMartin Braun2014-09-253-0/+126
|
* uhd: Added a stop stream cmd to the rx exampleMartin Braun2014-08-251-0/+3
|
* OctoClock firmware upgrade, added host driverNicholas Corgan2014-07-235-4/+173
| | | | | | | | | | * OctoClock can communicate with UHD over Ethernet * Can read NMEA strings from GPSDO and send to host * Added multi_usrp_clock class for clock devices * uhd::device can now filter to return only USRP devices or clock devices * New OctoClock bootloader can accept firmware download over Ethernet * Added octoclock_burn_eeprom,octoclock_firmware_burner utilities * Added test_clock_synch example to show clock API
* Fixing help text for --ref argument in some examples. Reported by MarcusBen Hilburn2014-06-304-4/+4
| | | | Mueller.
* Lots of bit-specific type work to fix compilation on older OSes.Ben Hilburn2014-05-211-15/+16
|
* uhd: Added nicer error reporting to rx examplesMartin Braun2014-04-107-21/+18
|
* Improvements to test_dboard_coercion utilityNicholas Corgan2014-03-311-333/+202
| | | | | | | | * Code cleanliness work, removed significant amount of duplicate code * Improved output for clarity * Added B2x0 support * Added channel selection * Added options to select frequency and gain deltas