summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Reeder2018-08-02 14:17:18 -0500
committerJason Reeder2018-08-02 14:17:18 -0500
commit8d9c1e3402fce6f34f0c83a8c8b69b889d102982 (patch)
tree5cb27bb9377c5d04fa0d77756c8bf88fe30eb358
parent9c7bf903092867f6478a8b2e5bb1e829bd52299d (diff)
downloadtida01555-8d9c1e3402fce6f34f0c83a8c8b69b889d102982.tar.gz
tida01555-8d9c1e3402fce6f34f0c83a8c8b69b889d102982.tar.xz
tida01555-8d9c1e3402fce6f34f0c83a8c8b69b889d102982.zip
Updating the run.sh script to include the output enable GPIO
Signed-off-by: Jason Reeder <jreeder@ti.com>
-rwxr-xr-xrun.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/run.sh b/run.sh
index 502898d..10b8eef 100755
--- a/run.sh
+++ b/run.sh
@@ -1,5 +1,11 @@
1#!/bin/bash 1#!/bin/bash
2 2
3echo 46 > /sys/class/gpio/export
4echo out > /sys/class/gpio/gpio46/direction
5echo 1 > /sys/class/gpio/gpio46/value
6
7sleep 1
8
3echo stop > /sys/class/remoteproc/remoteproc1/state 9echo stop > /sys/class/remoteproc/remoteproc1/state
4echo stop > /sys/class/remoteproc/remoteproc2/state 10echo stop > /sys/class/remoteproc/remoteproc2/state
5 11
@@ -11,3 +17,7 @@ echo start > /sys/class/remoteproc/remoteproc2/state
11sleep 1 17sleep 1
12 18
13./ARM_User_Space_App.out 19./ARM_User_Space_App.out
20
21echo 0 > /sys/class/gpio/gpio46/value
22echo in > /sys/class/gpio/gpio46/direction
23echo 46 > /sys/class/gpio/unexport