-
Notifications
You must be signed in to change notification settings - Fork 106
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
adi:ad5754r: Add initial support #475
Conversation
@tfcollins the PR is ready for review now |
test/test_ad5754r.py
Outdated
@pytest.mark.parametrize("channel", [0]) | ||
def test_ad5754r_tx_data(test_dma_tx, iio_uri, classname, channel): | ||
# TODO add function call once driver is updated with waveform generation | ||
# capabilities |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to wait for the driver to make sure this actually works. Can you enhance this test code to include the other properties as well? We are trying to increase general test coverage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've removed this for now, and have added other attribute tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tfcollins Is there a way to test string properties of the channel class? I can see existing test methods for integer properties of channel classes, but not for non-integer ones.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You would need to enhance the attribute_single_value_str
function to support sub-channels
Add initial attribute r/w support for ad5754r Signed-off-by: RibhuDP <[email protected]>
Hi @tfcollins , I've now added tests for global and channel attributes. Could you please have a look? |
Description
Add initial attribute r/w support for ad5754r
Add driver, example, doc and emulation context for ad5754r
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How has this been tested?
SDP-K1 with EVAL-AD5754R, on a Windows 10 machine
Performed attribute read/write
Test Configuration:
Documentation
If this is a new feature or example please mention or link any documentation. All new hardware interface classes require documentation.
Checklist: