2024-11-19 02:26 AM
As the headline suggests, I would like to know if ST has a proper API documentation for libiio.
All I found was this : https://wiki.st.com/stm32mpu/wiki/How_to_use_the_IIO_user_space_interface
But I am not interested in shell commands and scipts.
There is the option of accessing iio via the file system interface, i.e. file read() / write() calls to access it via /sys/bus/iio/devices, but this is not my preferred route.
Does have ST something like this ?
https://wiki.analog.com/resources/tools-software/linux-software/libiio_internals
And if not, is this AD wiki also valid for ST's implementation ?
2024-11-19 11:09 PM
To answer my own question yet again - it seems not.
It seems there is no ST equivalent, I suppose the API description at AD's wiki site applies one hundred percent.
2024-11-20 05:17 AM
Hi @Ozone
does this page helps ? https://wiki.st.com/stm32mpu/wiki/IIO_overview#libiio
Regards,
2024-11-20 09:13 AM
Well ... somewhat.
I found some examples (on other sites) using the sysfs file interface. And since I don't aim for high sample rates and throughputs, I will probably be ok with it.
As a side note ...
I downloaded the libiio source code repository from the analog website, but I'm unable to build it.
The "default" configuration includes things like ZSTD support, the USB backend, and the XML backend. And just disabling those features doesn't work either, because of interdependencies.
Is there a ST make (or in this case, cmake) configuration ?
And/or the target packages for those backends available from ST ?