-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add initial support and doc for ad4020 #12
Conversation
@apelete please sign the CLA to get this PR accepted |
@tfcollins AFAIK requested changes were implemented so far : any update on this ? |
Looks good to me. Just one thing - could you possibly run the |
Thanks for the quick reply : latest commit updates sysobjs.json as per your instructions. |
}, | ||
{ | ||
"prop_name": "uri", | ||
"prop_title": " URI - remote host URI", | ||
"prop_description": "Hostname or IP address of remote libIIO deviceHelp for adi.AD4630_24.Rx/uri is inherited from superclass matlabshared.libiio.base" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "adi.AD4020.Rx", |
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.
Unlike ad2s120, properties didn't get filled out for AD4020. So documentation wouldn't get generated.
Just to confirm did you run the gen_sysobj_doc.m with the most recent driver version checked out?
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 noticed the difference with ad2s1210 but can't figure out why properties are not filled out for ad4020 : I'm running gen_sysobj_doc.m with the same Matlab version, just checking out the relevant branch for each device in my git workspace.
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.
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.
Is there another clone (perhaps with the early version of the driver or something) on the MATLAB path, that's taking precedence? That could explain why the properties don't show up.
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.
Did the same on my side : cloned the repo in another directory and executed gen_sysobj_doc in that new directory with the same result and I still cannot see the properties in sysobjs.json for AD4020.
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.
@ribdp Would you please consider pushing your sysobjs.json changes with the properties updated since this appears to be a setup issue on my side ?
I can't figure out why the properties do not show after executing gen_sysobj_doc.m in this case, even looking at MATLAB path for a probable cause.
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.
@apelete Sure thing. I've pushed the changes now
e7e3703
to
b8e990c
Compare
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.
Looks good to me
b8e990c
to
fd66408
Compare
@ribdp @tfcollins I rebased and signed all commits with GPG to get them verified, can you please merge this pull request into main branch ?
|
@ribdp @tfcollins There may be a merge issue when signing the commits with GPG according to documentation (https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification#signature-verification-for-rebase-and-merge) :
Do you want me to squash and merge all commits before you push the resulting single commit into the main branch to work around this issue ? |
@apelete We have added some branch protection rules and I think as a part of that, above error is thrown. In order to get changes merged properly, only admins should/can merge the PR. Also, we use fast-forward merge strategy for this, so that whole commit history is fetched from recent PR commits of source branch and put onto the top of target branch. Also another thing to look in future is to add part/project name prefix to the commits title.
This help us identify quickly for which project the change was made. |
This adds initial support and doc for AD4020 ADC. Signed-off-by: Apelete Seketeli <[email protected]>
Signed-off-by: Apelete Seketeli <[email protected]>
Signed-off-by: Apelete Seketeli <[email protected]>
Signed-off-by: Apelete Seketeli <[email protected]>
Signed-off-by: Apelete Seketeli <[email protected]>
Signed-off-by: Apelete Seketeli <[email protected]>
fd66408
to
6eaf1a5
Compare
@ribdp Same here, rebased on main branch and solved the conflicts, should be good for merging now. |
This adds initial support and doc for AD4020 ADC.
Matlab implementation currently depends on AD40xx Linux driver work-in-progress implementation (analogdevicesinc/linux#2257).
This is also subject to a limitation in triggered buffer support in Linux driver at the moment (see https://github.com/adi-ses/sea-misc/pull/27#issuecomment-1740985035).