analogdevicesinc / pyadi-iio

Python interfaces for ADI hardware with IIO drivers (aka peyote)
https://analogdevicesinc.github.io/pyadi-iio
Other
134 stars 99 forks source link

add support for ad3552r #564

Open spectrum70 opened 1 month ago

spectrum70 commented 1 month ago

Add ad3552r driver, test script, example code, rst file and emu xml.

Tested:

All tests passed.

Reviewed-by: Trevor Gamblin tgamblin@baylibre.com

Description

Add support for ad3552r

Type of change

Please delete options that are not relevant.

How has this been tested?

pytest -v --hw=ad3552r --emu --emu-xml=/home/angelo/dev-baylibre/adi/pyadi-iio/test/emu/devices/ad3552r.xml test/test_ad3552r.py::test_ad3552r_raw_attr[raw-0-4000-1000-1-3-voltage0-adi.ad3552r] PASSED test/test_ad3552r.py::test_ad3552r_raw_attr[raw-0-4000-1000-1-3-voltage1-adi.ad3552r] PASSED

invoke precommit Running supported_parts check No parts missing from supported_parts.md

pre-commit run --all-files codespell................................................................Passed isort....................................................................Passed Check Yaml...............................................................Passed Fix End of Files.........................................................Passed Trim Trailing Whitespace.................................................Passed Check for merge conflicts................................................Passed Debug Statements (Python)................................................Passed Check docstring is first.................................................Passed Flake8...................................................................Passed black....................................................................Passed blacken-docs.............................................................Passed Insert license in comments...............................................Passed

example executed on target

Test Configuration:

Documentation

rst files has been added accordingly

Checklist:

spectrum70 commented 1 month ago

Hi @tfcollins

fixed above points and re-run all above tests. All passed.

spectrum70 commented 1 month ago

Hi @tfcollins , not clear how the PR acceptance process works, i don't see any reviewer assigned here, can you help me ?

spectrum70 commented 3 weeks ago

fixed conflicts with main