Torizon 5.7.2 modules for ADCs

Good evening,

i’ve noticed that one of the ADC we’re planning to use is currently not supported by the Torizon 5.7.2.

torizon@colibri-imx7-emmc-07313941:~$ zcat /proc/config.gz |grep TI_ADS
# CONFIG_TI_ADS1015 is not set
# CONFIG_TI_ADS7950 is not set
# CONFIG_TI_ADS8344 is not set
# CONFIG_TI_ADS8688 is not set
# CONFIG_TI_ADS124S08 is not set

I would like to use CONFIG_TI_ADS1015=m ;
is it possible to download some release that include (also) this module?
Otherwise I think it’s a task too complex for us to recompile the Torizon O.S. by ourselves.
I’m working on Iris with Colibri imx7D emmc, TorizonCore Upstream 5.7.2+build.20 (dunfell)

Thank you in advance, Regards

Flavio

Hi @flavio.f

As you can check here, Torizon 5.7.2 is already past the Projected EOL.

So, we don’t plan to release new features on it.
Have you checked if this feature is available on Torizon OS 7?

Hi Allan,
I’m using another same hw board with Torizon 6.8.0, and

zcat /proc/config.gz |grep ADS

shows same situation.
If I use Torizon 6 or 7, could it be easier to activate additional external device modules ?

thanks again, Kind Regards

Flavio

Hi @flavio.f

It should be the same effort.
I asked if you have checked because sometimes these external modules get included in the mainline kernel.

BSP Kernel
7.1.0 Upstream Toradex v6.6.69 (based on kernel.org)
6.8.1 Upstream Toradex v6.1.123 (based on kernel.org)
5.7.5 Downstream NXP BSP L5.4.70_2.3.7 / Mainline v5.4.264

Have you tried this guide?
You don’t need to re-build the Torizon OS image from scratch to add external modules.

I wasn’t able to compile that single module by following that tutorials.
If it was a single monolithic “hello-world” module, maybe it could work; but in order to have an iio ADC module working there seems to be includes and dependencies that could not be simply solved by having a single source file and its makefile in its own (sub)directory.

I will go to check on last BSP&Kernel(s) you suggested; as a last resort I will try to buy a different ADC, already supported.

KR,
Flavio