uhd/host/examples
Michael West 8720f42b33 examples: Update gpio example
The example assumed that there was always at least one TX and on RX
channel.  Since that is not always true, this change checks for TX
and RX channels and only exucutes tests for what exists on the device.

Applied clang format.

Signed-off-by: Michael West <michael.west@ettus.com>
2020-04-30 15:14:28 -05:00
..
getopt uhd: mpm: update all license header w/ "-or-later" 2019-03-08 00:43:07 +01:00
init_usrp cmake: Bump dependency versions for UHD 4.0.0.0 2019-11-26 11:49:08 -08:00
python examples: benchmark_rate.py: Add ?x_stream_args args 2019-11-26 12:21:33 -08:00
rfnoc-example examples: Update gain block testbench to use samples 2020-03-09 13:43:05 -05:00
ascii_art_dft.hpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
benchmark_rate.cpp examples: Change benchmark_rate default thread priority 2020-03-27 16:02:20 -05:00
benchmark_streamer.cpp uhd: Replace usage of boost smart pointers with C++11 counterparts 2019-11-26 12:21:32 -08:00
CMakeLists.txt examples: updating radio loopback 2019-11-26 12:21:32 -08:00
gpio.cpp examples: Update gpio example 2020-04-30 15:14:28 -05:00
latency_test.cpp examples: remove thread priority elevation 2019-10-22 16:18:46 -07:00
network_relay.cpp uhd: Replace all occurrences of boost::bind with std::bind 2019-11-26 12:21:32 -08:00
replay_samples_from_file.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
rfnoc_nullsource_ce_rx.cpp Remove proto-RFNoC files 2019-11-26 12:16:25 -08:00
rfnoc_radio_loopback.cpp examples: updating radio loopback 2019-11-26 12:21:32 -08:00
rfnoc_rx_to_file.cpp uhd: Replace all occurrences of boost::bind with std::bind 2019-11-26 12:21:32 -08:00
rx_ascii_art_dft.cpp Examples: wrap up ref setting with option check 2019-11-24 16:56:27 -08:00
rx_multi_samples.cpp examples: remove thread priority elevation 2019-10-22 16:18:46 -07:00
rx_samples_c.c examples: remove thread priority elevation 2019-10-22 16:18:46 -07:00
rx_samples_to_file.cpp uhd: Remove deprecated objects and methods 2019-11-26 11:49:08 -08:00
rx_samples_to_udp.cpp Examples: wrap up ref setting with option check 2019-11-24 16:56:27 -08:00
rx_timed_samples.cpp examples: remove thread priority elevation 2019-10-22 16:18:46 -07:00
sync_to_gps.cpp examples: remove thread priority elevation 2019-10-22 16:18:46 -07:00
test_clock_synch.cpp uhd: Replace all occurrences of boost::bind with std::bind 2019-11-26 12:21:32 -08:00
test_dboard_coercion.cpp uhd: Replace BOOST_FOREACH(v, c) with for(v : c) 2019-11-26 12:21:32 -08:00
test_messages.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
test_pps_input.cpp examples: test_pps_input: Also test for ref_locked on E31x 2019-11-21 15:02:03 -08:00
test_timed_commands.cpp examples: remove thread priority elevation 2019-10-22 16:18:46 -07:00
twinrx_freq_hopping.cpp uhd: Replace BOOST_FOREACH(v, c) with for(v : c) 2019-11-26 12:21:32 -08:00
tx_bursts.cpp Examples: tx_bursts add subdev, ref, lo-offset, bw options 2019-11-22 20:38:27 -08:00
tx_samples_c.c examples: remove thread priority elevation 2019-10-22 16:18:46 -07:00
tx_samples_from_file.cpp uhd: Remove deprecated objects and methods 2019-11-26 11:49:08 -08:00
tx_timed_samples.cpp examples: remove thread priority elevation 2019-10-22 16:18:46 -07:00
tx_waveforms.cpp examples: Add --power command line option to tx_waveforms 2020-04-17 07:59:50 -05:00
txrx_loopback_to_file.cpp uhd: Apply clang-format against all .cpp and .hpp files in host/ 2020-03-03 08:51:32 -06:00
usrp_list_sensors.cpp uhd: mpm: apply clang-format to all files 2019-01-16 11:40:23 -08:00
wavetable.hpp examples: Add --power command line option to tx_waveforms 2020-04-17 07:59:50 -05:00