]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/host-tools.git/commitdiff
phidget: Add phidget library and binaries
authorNikhil Devshatwar <nikhil.nd@ti.com>
Tue, 28 Jul 2020 10:01:54 +0000 (15:31 +0530)
committerNikhil Devshatwar <nikhil.nd@ti.com>
Tue, 28 Jul 2020 10:03:15 +0000 (15:33 +0530)
Most common method for toggling power for the board is to
use a Phidget USB relay. Add the libraries and binaries
for controlling these devices from Linux machines.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
k3-bootswitch/phidget/install.sh [new file with mode: 0755]
k3-bootswitch/phidget/usr/bin/phidget-switch [new file with mode: 0755]
k3-bootswitch/phidget/usr/lib/libphidget21.so [new file with mode: 0644]
k3-bootswitch/phidget/usr/lib/libphidget21.so.0 [new symlink]
k3-bootswitch/phidget/usr/lib/libphidget21.so.0.0.0 [new file with mode: 0644]

diff --git a/k3-bootswitch/phidget/install.sh b/k3-bootswitch/phidget/install.sh
new file mode 100755 (executable)
index 0000000..f138e19
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/bash -e
+topdir=`git rev-parse --show-toplevel`
+sudo cp -r $topdir/phidget/* /
diff --git a/k3-bootswitch/phidget/usr/bin/phidget-switch b/k3-bootswitch/phidget/usr/bin/phidget-switch
new file mode 100755 (executable)
index 0000000..239d700
Binary files /dev/null and b/k3-bootswitch/phidget/usr/bin/phidget-switch differ
diff --git a/k3-bootswitch/phidget/usr/lib/libphidget21.so b/k3-bootswitch/phidget/usr/lib/libphidget21.so
new file mode 100644 (file)
index 0000000..b519a6c
Binary files /dev/null and b/k3-bootswitch/phidget/usr/lib/libphidget21.so differ
diff --git a/k3-bootswitch/phidget/usr/lib/libphidget21.so.0 b/k3-bootswitch/phidget/usr/lib/libphidget21.so.0
new file mode 120000 (symlink)
index 0000000..ca7ba69
--- /dev/null
@@ -0,0 +1 @@
\ No newline at end of file
diff --git a/k3-bootswitch/phidget/usr/lib/libphidget21.so.0.0.0 b/k3-bootswitch/phidget/usr/lib/libphidget21.so.0.0.0
new file mode 100644 (file)
index 0000000..b519a6c
Binary files /dev/null and b/k3-bootswitch/phidget/usr/lib/libphidget21.so.0.0.0 differ