aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2022-04-14 16:28:27 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2022-06-10 13:24:05 -0500
commit76156b15b7fa5636281a4139c2c856da0a7b05c5 (patch)
tree28a697cc97a5b9570e926e80facc0a513705e557 /CHANGELOG
parentf2043bc60bfe841bbb73b5f5dd38813592c9536b (diff)
downloaduhd-76156b15b7fa5636281a4139c2c856da0a7b05c5.tar.gz
uhd-76156b15b7fa5636281a4139c2c856da0a7b05c5.tar.bz2
uhd-76156b15b7fa5636281a4139c2c856da0a7b05c5.zip
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
Diffstat (limited to 'CHANGELOG')
0 files changed, 0 insertions, 0 deletions