From c1b93a461162e0856f413d692ca618ddc0650050 Mon Sep 17 00:00:00 2001 From: Jason Kridner <jkridner@beagleboard.org> Date: Wed, 8 Mar 2023 03:19:43 -0500 Subject: [PATCH] fix small percentage of broken links --- books/pru-cookbook/01case/case.rst | 8 ++++---- books/pru-cookbook/03details/details.rst | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/books/pru-cookbook/01case/case.rst b/books/pru-cookbook/01case/case.rst index 3094ffae..729cdc6b 100644 --- a/books/pru-cookbook/01case/case.rst +++ b/books/pru-cookbook/01case/case.rst @@ -583,11 +583,11 @@ explaining how the PRUs get this type of performance. .. _case_e1.31_example: - .. literalinclude:: ../code/01start/e1.31-test.py + .. literalinclude:: ../code/02start/e1.31-test.py :caption: e1.31-test.py -Example of generating packets to control the NeoPixels :linenos: - :download:`e1.31-test.py <../code/01start/e1.31-test.py>` + :download:`e1.31-test.py <../code/02start/e1.31-test.py>` .. TODO document the code @@ -996,11 +996,11 @@ Now, suppose you wanted to run the `LED blink <https://simppru.readthedocs.io/en/latest/examples/led_blink/>`_ example which is reproduced here. -.. literalinclude:: ../code/01start/blink.sim +.. literalinclude:: ../code/02start/blink.sim :caption: LED Blink (blink.sim) :linenos: -:download:`blink.sim <../code/01start/blink.sim>` +:download:`blink.sim <../code/02start/blink.sim>` Just run simppru diff --git a/books/pru-cookbook/03details/details.rst b/books/pru-cookbook/03details/details.rst index 82a71dfa..78a37963 100644 --- a/books/pru-cookbook/03details/details.rst +++ b/books/pru-cookbook/03details/details.rst @@ -213,11 +213,11 @@ The setup file also contains instructions to figure out which Beagle you are run and then configure the pins accordingly. -.. literalinclude:: ../code/06io/gpio_setup.sh - :caption: gpio_setup.sh +.. literalinclude:: ../code/06io/setup.sh + :caption: setup.sh :linenos: -:download:`gpio_setup.sh <../code/06io/gpio_setup.sh>` +:download:`setup.sh <../code/06io/setup.sh>` .. table:: @@ -333,11 +333,11 @@ The ``am57xx_pru.cmd`` does the same for the AI. Both files can be found in ``/var/lib/cloud9/common``. -.. literalinclude:: ../code/06io/am335x_pru.cmd +.. literalinclude:: ../code/03details/am335x_pru.cmd :caption: am335x_pru.cmd :linenos: -:download:`am335x_pru.cmd <../code/06io/am335x_pru.cmd>` +:download:`am335x_pru.cmd <../code/03details/am335x_pru.cmd>` .. TODO does this need updating? @@ -462,11 +462,11 @@ everything is already configured for you. If you are on the Black or Pocket you'll need to run the following script. -.. literalinclude:: ../code/06io/servos_setup.sh +.. literalinclude:: ../code/03details/servos_setup.sh :caption: servos_setup.sh :linenos: -:download:`servos_setup.sh <../code/06io/servos_setup.sh>` +:download:`servos_setup.sh <../code/03details/servos_setup.sh>` Discussion ----------- @@ -492,11 +492,11 @@ It depends on which Beagle you are running on. If you are on the AI or Blue, everything is already configured for you. If you are on the Black or Pocket you'll need to run the following script. -.. literalinclude:: ../code/06io/encoder_setup.sh +.. literalinclude:: ../code/03details/encoder_setup.sh :caption: encoder_setup.sh :linenos: -:download:`encoder_setup.sh <../code/06io/encoder_setup.sh>` +:download:`encoder_setup.sh <../code/03details/encoder_setup.sh>` Discussion ----------- -- GitLab