uhd/host/examples
Martin Braun 727141d851 examples: gpio: Refactor example
The example had organically grown and was getting hard to read, and also
had some known issues. Summary of fixes:

- Default GPIO bank and connector are now derived from the device. This
  allows this example to pass without throwing an exception on E3xx and
  X4xx series when using default arguments.
- The bitbang test is moved into its own code section, to make the rest
  more readable.
- We move all the streamer-related code into a helper struct
- Some repetitive parts of the code are moved into their own functions
- The argument --require-loopback is added, which will fail tests if
  GPIO pins are not correctly looped back externally
- --list-banks is renamed to --list_banks for consistency
2022-05-25 07:56:27 -07:00
..
getopt uhd: mpm: update all license header w/ "-or-later" 2019-03-08 00:43:07 +01:00
init_usrp examples: Update example CMakeLists.txt for minimum version bumps 2021-06-28 13:44:25 -05:00
python examples: Add replay_capture.py 2022-03-31 08:10:45 -07:00
rfnoc-example fpga: rfnoc: Remove rfnoc_version from target YAML 2022-05-11 12:29:35 -07:00
ascii_art_dft.hpp examples: Add min dynamic range limit to ascii art DFT example 2021-04-15 14:00:34 -05:00
benchmark_rate.cpp tests: Atomicize counters in benchmark_rate 2022-03-07 09:21:49 -06: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 cmake: ncurses: fix building with split tinfo 2022-02-24 13:33:39 -06:00
gpio.cpp examples: gpio: Refactor example 2022-05-25 07:56:27 -07:00
latency_test.cpp examples: remove thread priority elevation 2019-10-22 16:18:46 -07:00
network_relay.cpp uhd: Replace Boost mutexes and locks with standard options 2021-10-19 12:21:33 -07:00
rfnoc_nullsource_ce_rx.cpp Remove proto-RFNoC files 2019-11-26 12:16:25 -08:00
rfnoc_radio_loopback.cpp examples: Fix tx frequency tuning in radio loopback 2021-06-25 13:59:14 -05:00
rfnoc_replay_samples_from_file.cpp rfnoc: Remove UHD3-API usages 2022-03-11 08:59:39 -06:00
rfnoc_rx_to_file.cpp examples: Improve rfnoc_rx_to_file 2021-12-01 13:34:35 -08:00
rx_ascii_art_dft.cpp examples: Add min dynamic range limit to ascii art DFT example 2021-04-15 14:00:34 -05: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
spi.cpp host: SPI: Read number of supported SPI slaves from device 2022-04-04 12:27:18 -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 host: Update code base using clang-tidy 2021-03-04 08:07:26 -06:00
test_messages.cpp uhd: Remove includes of list_of.hpp where appropriate 2021-06-24 12:00:49 -05: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: Fix tx_bursts bandwidth/freq/gain reporting 2021-12-16 09:18:47 -06:00
tx_samples_c.c examples: remove thread priority elevation 2019-10-22 16:18:46 -07:00
tx_samples_from_file.cpp example: Check for failure in tx_samples_from_file 2020-07-31 15:09:33 -05:00
tx_timed_samples.cpp examples: remove thread priority elevation 2019-10-22 16:18:46 -07:00
tx_waveforms.cpp uhd: Remove all occurences of boost::math::*round() 2021-06-24 12:00:49 -05:00
txrx_loopback_to_file.cpp examples: Improve txrx_loopback_to_file (late recv, Boost, timing) 2021-09-17 13:27:17 -07: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