aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
Commit message (Collapse)AuthorAgeFilesLines
* GPIO: Set CTRL register before OUT register in GPIO example.michael-west2016-12-091-3/+3
|
* fixup! Remove all boost:: namespace prefix for uint32_t, int32_t etc. ↵Martin Braun2016-11-153-19/+19
| | | | | | (fixed-width types) Now also removes the namespaces in examples/
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-081-1/+1
| | | | | | | | types) - Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be <cstdint>, but not all of our compilers support that).
* Fix warning in rx_samples_c.c.Philip Balister2016-10-131-2/+2
| | | | | | | time_t is not guaranteed to be printable as in int type. Use difftime to portably convert time_t to float and print result. Signed-off-by: Philip Balister <philip@opensdr.com>
* Fix warning in tx_samples_c.c.Philip Balister2016-10-131-1/+1
| | | | | | | Function needs pointer to size_t type. I suspect using uint64_t could lead to trouble on a 32 bit machine. Signed-off-by: Philip Balister <philip@opensdr.com>
* examples: Fixed test_messagesMartin Braun2016-09-281-7/+8
|
* examples: Fixed check for setting time on PPS vs. nowMartin Braun2016-09-281-1/+6
|
* Merge branch 'UHD-3.9.LTS' into maintMartin Braun2016-09-022-0/+192
|\ | | | | | | | | | | | | | | This provides the GPS fixes. Conflicts: host/CMakeLists.txt tools/debs/upload_debs.sh
| * Add example to synchronize USRPs to GPS timemichael-west2016-09-022-0/+192
| |
* | examples: Added TX and RX channels args in benchmark_rateDerek Kozel2016-08-291-13/+40
| |
* | examples: tx_waveforms was always checking lo_lock on channel 0, regardless ↵Martin Braun2016-08-111-5/+7
| | | | | | | | of channel used
* | Merge branch 'maint'Martin Braun2016-08-031-9/+9
|\|
| * examples: test_dboard_coercion did not check the correct LO lock sensors for RXMartin Braun2016-08-031-9/+9
| |
* | examples: Remove default values for subdevs in benchmark_rateMartin Braun2016-08-031-2/+2
| |
* | examples: Added tx and rx subdev arguments to benchmark_rateDerek Kozel2016-08-031-0/+12
| |
* | examples: tx_bursts fixesmichael-west2016-08-021-11/+29
| | | | | | | | | | | | - Wait for ACKs for all channels - Put EOB on last data packet instead of empty packet - Exit with failure when send times out and SIGINT has been received
* | cmake: Fix compatibility with new versioning schemeNicolas Cuervo2016-08-011-1/+1
| | | | | | | | - Fixes init_usrp
* | examples: Fixed unconditional wait for SISO case in benchmark_rateMartin Braun2016-07-221-1/+1
| |
* | examples: Added late command counter to benchmark_rateMartin Braun2016-07-221-4/+17
| |
* | examples: Fix RX thread in benchmark_rate example so it exits when EOB is seenmichael-west2016-07-221-2/+8
| |
* | Merge branch 'maint'Martin Braun2016-06-231-0/+5
|\| | | | | | | | | Conflicts: host/lib/usrp/b200/b200_impl.cpp
| * Added subdev argument to rx_samples_to_udp exampleDerek Kozel2016-06-221-0/+5
| |
* | Merge branch 'maint'Martin Braun2016-06-171-1/+1
|\|
| * Fixed minor warningsNicholas Corgan2016-06-161-1/+1
| | | | | | | | | | | | * Mismatched printf format strings * Number truncation * Unreferenced variables
* | Merge branch 'maint'Martin Braun2016-05-191-2/+3
|\|
| * examples: Increased the reference locking timeout in benchmark_ratePaul David2016-05-171-2/+3
| |
| * examples: Re-enabled better thread interruption in benchmark_rateMartin Braun2016-03-171-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-161-120/+32
| | | | | | | | | | | | problems" This reverts commit 8930d853f3ee2ac91fc7fd6b41046ca972da3c3f.
| * examples: Modified benchmark_rate so thread interrupts cannot cause problemsMartin Braun2016-03-141-32/+120
| |
* | examples: added options for specifying number of samples to transmitPaul David2016-04-042-7/+32
| |
* | 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