aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/tests/sys_utils_tests.py
diff options
context:
space:
mode:
authorMichael Auchter <michael.auchter@ni.com>2020-01-29 14:02:59 -0600
committerAaron Rossetto <aaron.rossetto@ni.com>2021-06-03 09:34:55 -0500
commit15b94c53edc86031c74b27cd3d824d2291c0c91f (patch)
tree1e57c3e87262b8d156336d8c28b6f90e86eda1d5 /mpm/python/tests/sys_utils_tests.py
parent60a147a6a16ced611ab1a7dfdb233d3bd01a0d65 (diff)
downloaduhd-15b94c53edc86031c74b27cd3d824d2291c0c91f.tar.gz
uhd-15b94c53edc86031c74b27cd3d824d2291c0c91f.tar.bz2
uhd-15b94c53edc86031c74b27cd3d824d2291c0c91f.zip
mpm: sys_utils: add libgpiod-based Gpio helper
This adds a new Gpio helper class, which uses libgpiod under the hood instead of the deprecated sysfs GPIO access. This class provides the ability to get/set a specific GPIO, which is looked up by name.
Diffstat (limited to 'mpm/python/tests/sys_utils_tests.py')
-rwxr-xr-xmpm/python/tests/sys_utils_tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpm/python/tests/sys_utils_tests.py b/mpm/python/tests/sys_utils_tests.py
index c21cfea07..50a10e1a1 100755
--- a/mpm/python/tests/sys_utils_tests.py
+++ b/mpm/python/tests/sys_utils_tests.py
@@ -9,6 +9,7 @@ Tests related to usrp_mpm.sys_utils
from base_tests import TestBase
import unittest
+import test_utilities
from usrp_mpm.sys_utils import net
import platform