New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: gr-iio #4277
feature: gr-iio #4277
Conversation
|
It does not look like the QA is running for IIO. |
|
Do we think there's a way we can reduce this to 1 sink and source respectively? The differences between the devices seem fairly small. |
|
Yes, with a bunch of work. By the time you parameterize everything (e.g., number of channels), you'd be making a new driver framework. |
5ee7947
to
3e01631
Compare
|
Rebased to take advantage of the new CI containers. |
|
@adamhorden F33 builds are failing: |
15d8e90
to
cfb594c
Compare
|
I have updated this PR with a commit that removes usage of Boost where possible and uses std 🤓. Adam Horden |
|
I tried to build, but it failed as libiio is located at /usr/local/libiio/ on my system. So I added /usr/local/libiio/lib64/ in FindIIO.cmake. but compilation fails with even //Path to a file. //Path to a library. is set in CMakeCache.txt and |
This seems like a non-standard path. Do you know how those files got there? How did you install your libiio? If it's a non-standard path, then the appropriate "fix" would be to add that path to CMake with some |
|
Yes, I don't like to put all packages to /usr/local. I installed libiio to I come across this by adding the corresponding pathes to FindIIO.cmake Meanwhile I found some more problems, so I'd like to make a pr, but I'm unsure how to do this in this case. |
I think you can make a PR against the feature/gr-iio branch, and then it should show up in this PR when it gets merged |
6021d3e
to
a7462c0
Compare
|
@ryanvolz thanks for the pull request 😄 . Adam Horden |
|
Looks like the Fedora build fails because it finds/uses As for Fedora in particular, is that a case of needing to update the Docker image or does Fedora not package |
Looks like |
I am just working on a pull request for the Docker container for Fedora to bring Once this pull request is merged my thinking is that we can add a check to determine the version in the Adam Horden |
|
@adamhorden - is the docker change for F33 ready to go? |
91b87dc
to
a132d5f
Compare
|
@adamhorden , Thanks so much for your work on iio. Its a big deal for me. I have pulled this branch of gnuradio and it is building fine. I am seeing qa_iio fail: |
Thanks. It has been allot of work to get to this stage 🤓 . This is failing on tests. I will take a look into this. Thanks for the report. For now: You can disable the tests while I look into this, this branch has been tested using a ADLAM Pluto. Adam Horden |
664713f
to
131f32c
Compare
rather than complex constructors and a catch all set_params, construct with the minimum amount of parameters and then have them individually settable Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
Advanced filter configurations are now possible through the Pluto and FMComms2 sink blocks. This includes filter designer controls and support for the DEC8/INT8 filters now able in 2019-R2 releases from ADI. Pluto's DEC8/INT8 filters have exists since very early firmware images. This will also fix errors related to setting the sample rate like "Unable to set out_voltage_sampling_frequency" since this update properly sets the filters on sinks. Signed-off-by: Travis F. Collins <travis.collins@analog.com>
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
653556c
to
d078553
Compare
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
Run clang-format. ``` find . -iname '*.cc' -o -iname '*.h' | xargs clang-format -i ``` Signed-off-by: Adam Horden <adam.horden@horden.engineering>
dffb5c9
to
fe885ee
Compare
|
I have done some refactoring and removed parameter See commit hash: This was unused and during testing was set to This code path has never been used and or tested. We have concluded after investigating and testing, this could safely be removed to enable a cleaner API. The original code from Analog devices had this comment: Adam Horden |
Refactoring. Remove parameter `required_enable`. This was unused and during testing was set to: `required_enable == false` This code path has never been used and or tested. We have concluded after investigating and testing, this could safely be removed to enable a cleaner API. Signed-off-by: Adam Horden <adam.horden@horden.engineering>
gr-iio depends on libiio (and not on IIO) and conditionally from libad9361. Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
@adamhorden - in your view is this close enough to merge onto master and work from there, or do you have a list of items that need to be addressed before you are ready? |
I feel this is ready to go 😁 . I have done enough testing with actual hardware and I feel it is now at the stage where this should be merged in and anything else is a follow up PR. Same way Soapy has been merged in and following work is done as a PR. I was just looking at the examples and seeing what could be removed this evening as some just do not work. Apart from the examples I am ready for this to be merged in 🤓 . Adam Horden |
Remove non working examples. Signed-off-by: Adam Horden <adam.horden@horden.engineering>
d21e5b9
to
7b25b39
Compare
feature: iio
This pull request is related to GNU Radio Enhancement Proposals 0017. In short it adds the gr-iio out of tree module in tree.
Please see GNU Radio Enhancement Proposals 0017:
https://github.com/gnuradio/greps/blob/master/grep-0017-iio.md
This is a rebase of the source against the original source from Travis Collins with fixes to allow GNU Radio version >= 3.9 compatibility.
Please see:
analogdevicesinc#4
analogdevicesinc#5
https://github.com/analogdevicesinc/gnuradio/tree/merge-griio-upstream
#2840
Testing
I have tested these changes by building GNU Radio version 3.9 (master) from source and applying these changes. The build works as expected. I can supply a Docker container that allows this testing to happen in an automated manor.
Co-authored-by: Edward Kigwana ekigwana@scires.com
Co-authored-by: Josh Morman jmorman@perspectalabs.com
Co-authored-by: Ryan Volz ryan.volz@gmail.com
Co-authored-by: Travis Collins travis.collins@analog.com
Signed-off-by: Adam Horden adam.horden@horden.engineering
Closes #2717.