From 4ba843833ad66cbae21c70555495a0c82987c96d Mon Sep 17 00:00:00 2001 From: "Mark A. Yoder" <Mark.A.Yoder@Rose-Hulman.edu> Date: Fri, 25 Aug 2023 08:50:50 -0400 Subject: [PATCH] Switching to vsx --- books/pru-cookbook/02start/start.rst | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/books/pru-cookbook/02start/start.rst b/books/pru-cookbook/02start/start.rst index 9dc04ca0..664a58af 100644 --- a/books/pru-cookbook/02start/start.rst +++ b/books/pru-cookbook/02start/start.rst @@ -338,7 +338,7 @@ to run it right now do the following. .. _start_running_code: Running Code on the Black or Pocket -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: shell-session @@ -370,22 +370,18 @@ Running Code on the Black or Pocket bone:~$ sudo chown debian:debian /lib/firmware/am335x-pru* - - - - Running Code on the AI -~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: shell-session bone:~$ make TARGET=hello.pru1_1 - /var/lib/cloud9/common/Makefile:28: MODEL=BeagleBoard.org_BeagleBone_AI,TARGET=hello.pru1_1 + /opt/source/pru-cookbook-code/common/Makefile:28: MODEL=BeagleBoard.org_BeagleBone_AI,TARGET=hello.pru1_1 - Stopping PRU 1_1 CC hello.pru1_1.c - "/var/lib/cloud9/common/prugpio.h", line 4: warning #1181-D: #warning directive: "Found AI" - LD /tmp/cloud9-examples/hello.pru1_1.o - - copying firmware file /tmp/cloud9-examples/hello.pru1_1.out to /lib/firmware/am57xx-pru1_1-fw + "/opt/source/pru-cookbook-code/common/prugpio.h", line 4: warning #1181-D: #warning directive: "Found AI" + LD /tmp/vsx-examples/hello.pru1_1.o + - copying firmware file /tmp/vsx-examples/hello.pru1_1.out to /lib/firmware/am57xx-pru1_1-fw write_init_pins.sh writing "none" to "/sys/class/leds/beaglebone:green:usr3/trigger" - Starting PRU 1_1 @@ -393,7 +389,7 @@ Running Code on the AI PROC = pru PRUN = 1_1 PRU_DIR = /dev/remoteproc/pruss1-core1 - rm /tmp/cloud9-examples/hello.pru1_1.o + rm /tmp/vsx-examples/hello.pru1_1.o Look quickly and you will see the ``USR3`` LED blinking. -- GitLab