forked from analogdevicesinc/libiio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
local: add some more info to local scan contexts
In the past, when doing an 'iio_info -s' on machines with local contexts, you would get something like: "Local devices" which isn't exactly descriptive... look in sysfs for the machine (DT model for embedded ARM and DRI for x86), and combine that with a device list so now you get something that looks like: Available contexts: 0: (spi1.0, ad9361-phy, cf-ad9361-lpc, spi1.1, xadc, ad7291, cf-ad9361-dds-core-lpc on Xilinx Zynq ZED) [local:] or Available contexts: 0: (ad7124-4 on Raspberry Pi 4 Model B Rev 1.1) [local:] which makes it easier to identify for end users. Signed-off-by: Robin Getz <[email protected]>
- Loading branch information
Showing
1 changed file
with
64 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters