Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit fb9db691 authored by Mark Yoder's avatar Mark Yoder
Browse files

Updated for /opt/source/pru-cookbook-code

parent e3f710c7
Branches
Tags
No related merge requests found
Pipeline #1739 passed with stages
in 2 minutes and 8 seconds
......@@ -285,14 +285,15 @@ it on your Beagle.
.. code-block:: shell-session
bone$ cd /opt/source
bone$ git clone https://git.beagleboard.org/beagleboard/pru-cookbook-code
bone$ cd pru-cookbook-code
bone$ sudo ./install.sh
bone$ ls -F
01case/ 03details/ 05blocks/ 07more/ README.md
02start/ 04details/ 06io/ 08ai/
Each chapter has its own directory and within that directory
is a **code** directory that has all of the code.
Each chapter has its own directory that has all of the code.
.. code-block:: shell-session
......@@ -334,8 +335,10 @@ to run it right now do the following.
.. code-block:: shell-session
bone$ cd /opt/source
bone$ git clone https://git.beagleboard.org/beagleboard/pru-cookbook-code
bone$ cd pru-cookbook-code/02start
bone$ sudo ../install.sh
.. tip::
......@@ -351,14 +354,16 @@ Running Code on the Black or Pocket
.. code-block:: shell-session
bone$ make TARGET=hello.pru0
/var/lib/cloud9/common/Makefile:28: MODEL=TI_AM335x_BeagleBone_Black,TARGET=hello.pru0,COMMON=/var/lib/cloud9/common
/var/lib/cloud9/common/Makefile:147: GEN_DIR=/tmp/cloud9-examples,CHIP=am335x,PROC=pru,PRUN=0,PRU_DIR=/sys/class/remoteproc/remoteproc1,EXE=.out
/opt/source/pru-cookbook-code/common/Makefile:27: MODEL=TI_AM335x_BeagleBone_Green_Wireless,TARGET=hello.pru0,COMMON=/opt/source/pru-cookbook-code/common
- Stopping PRU 0
- copying firmware file /tmp/cloud9-examples/hello.pru0.out to /lib/firmware/am335x-pru0-fw
CC hello.pru0.c
"/opt/source/pru-cookbook-code/common/prugpio.h", line 53: warning #1181-D: #warning directive: "Found else"
LD /tmp/vsx-examples/hello.pru0.o
- copying firmware file /tmp/vsx-examples/hello.pru0.out to /lib/firmware/am335x-pru0-fw
- Starting PRU 0
write_init_pins.sh
writing "none" to "/sys/class/leds/beaglebone:green:usr3/trigger"
- Starting PRU 0
MODEL = TI_AM335x_BeagleBone_Black
MODEL = TI_AM335x_BeagleBone_Green_Wireless
PROC = pru
PRUN = 0
PRU_DIR = /sys/class/remoteproc/remoteproc1
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment