[bootlin/training-materials updates] master: labs/sysdev-thirdparty*: correct gpioget output (1bca97b9)
Michael Opdenacker
michael.opdenacker at bootlin.com
Fri Jul 21 18:39:41 CEST 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/1bca97b9e8090f6e32608dac7625115977d845a4
>---------------------------------------------------------------
commit 1bca97b9e8090f6e32608dac7625115977d845a4
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Fri Jul 21 15:23:27 2023 +0200
labs/sysdev-thirdparty*: correct gpioget output
Note: not tested on BeagleBone Black
Just put a value that should make sense
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
1bca97b9e8090f6e32608dac7625115977d845a4
labs/sysdev-thirdparty-bbb/sysdev-thirdparty-bbb.tex | 4 ++--
labs/sysdev-thirdparty-stm32/sysdev-thirdparty-stm32.tex | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/labs/sysdev-thirdparty-bbb/sysdev-thirdparty-bbb.tex b/labs/sysdev-thirdparty-bbb/sysdev-thirdparty-bbb.tex
index 7f3e0693..2b0ce41c 100644
--- a/labs/sysdev-thirdparty-bbb/sysdev-thirdparty-bbb.tex
+++ b/labs/sysdev-thirdparty-bbb/sysdev-thirdparty-bbb.tex
@@ -711,7 +711,7 @@ You can now read the state of \code{GPIO1_28}:
\begin{bashinput}
# gpioget -c gpiochip0 28
-"0"=active
+"28"=inactive
\end{bashinput}
Now, connect your wire to 3V3 (pin 3 or 4 of connector P9). You should now
@@ -719,7 +719,7 @@ read:
\begin{bashinput}
# gpioget -c gpiochip0 28
-"1"=active
+"28"=active
\end{bashinput}
You see that you didn't have to configure the GPIO as input. {\em
diff --git a/labs/sysdev-thirdparty-stm32/sysdev-thirdparty-stm32.tex b/labs/sysdev-thirdparty-stm32/sysdev-thirdparty-stm32.tex
index 8999d178..f5075dfe 100644
--- a/labs/sysdev-thirdparty-stm32/sysdev-thirdparty-stm32.tex
+++ b/labs/sysdev-thirdparty-stm32/sysdev-thirdparty-stm32.tex
@@ -719,7 +719,7 @@ You can now read the state of your GPIO PE1:
\begin{bashinput}
# gpioget -c gpiochip4 1
-"0"=active
+"1"=inactive
\end{bashinput}
Now, connect your wire to 3V3 (pin 2 of connector CN16). You should now
More information about the training-materials-updates
mailing list