analogdevicesinc / no-OS

Software drivers in C for systems without an operating system
http://analogdevicesinc.github.io/no-OS/
Other
971 stars 1.67k forks source link

projects: eval-pqmon: add serial and t1l impl as iio interface #2370

Open rbudai98 opened 1 week ago

rbudai98 commented 1 week ago

By choosing the proper defines the user can choose between different implementation for connections.

Pull Request Description

Allowing user to choose between the desired interface type for iio connection. Possible options are:

PR Type

PR Checklist

buha commented 1 week ago

I was thinking we need a common approach to this in the future because there are now several projects which can do both usb/serial/ethernet and an easier way to select them would be to literally specify with something like:

export INTERFACE=serial
export INTERFACE=usb
export INTERFACE=ethernet
rbudai98 commented 1 week ago

I was thinking we need a common approach to this in the future because there are now several projects which can do both usb/serial/ethernet and an easier way to select them would be to literally specify with something like:

export INTERFACE=serial
export INTERFACE=usb
export INTERFACE=ethernet

Should we add this variable to generic.mk ?

rbudai98 commented 5 days ago

v2: