Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Mock Turtle
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Mock Turtle
Commits
e6694f92
Commit
e6694f92
authored
May 23, 2018
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: proper highlight code
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
91a93330
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
0 deletions
+7
-0
alarm-clock.rst
doc/demos/alarm-clock.rst
+1
-0
data-generator.rst
doc/demos/data-generator.rst
+1
-0
fmc-svec-carrier.rst
doc/demos/fmc-svec-carrier.rst
+4
-0
hello-world.rst
doc/demos/hello-world.rst
+1
-0
No files found.
doc/demos/alarm-clock.rst
View file @
e6694f92
...
...
@@ -43,4 +43,5 @@ in the following table.
- 1
- Send notifications
.. highlight:: c
.. literalinclude:: ../../demos/alarm_clock/firmware/fw-01/fw-ac.c
doc/demos/data-generator.rst
View file @
e6694f92
...
...
@@ -45,4 +45,5 @@ in the following table.
- 1
- Send data to the host
.. highlight:: c
.. literalinclude:: ../../demos/data_generator/firmware/fw-01/fw-dg.c
doc/demos/fmc-svec-carrier.rst
View file @
e6694f92
...
...
@@ -29,6 +29,7 @@ the following things:
- it periodically prints messages on the console with the GPIO status (LEDs
and LEMOs)
.. highlight:: c
.. literalinclude:: ../../demos/fmc-svec-carrier/software/firmware/fw-01/fw-svec.c
The *manualsvec* firmware offers a manual control of all LEDs and LEMOs.
...
...
@@ -41,6 +42,7 @@ It does use :ref:`sw:fw:frm`. This firmware does the following things:
- it exports a local :ref:`variable <sw:fw:frm:var>` that can be used to
stop/start an *autosvec* firmware running on a different core.
.. highlight:: c
.. literalinclude:: ../../demos/fmc-svec-carrier/software/firmware/fw-02/fw-svec.c
This firmware has also a support layer on the host side. This is not really necessary
...
...
@@ -53,12 +55,14 @@ device, the library exports an API to handle the LEDs and LEMOs status and funct
to set/get a dummy data structure. This library is mainly a wrapper around
the Mock Turtle one.
.. highlight:: c
.. literalinclude:: ../../demos/fmc-svec-carrier/software/lib/libsvec.c
At the end, the host program. This program is a command line tool that uses the
svec library described above to handle the SVEC board. Again, it gives users
the possibility to play with LEDs and LEMOs status.
.. highlight:: c
.. literalinclude:: ../../demos/fmc-svec-carrier/software/tools/mockturtle-svec.c
...
...
doc/demos/hello-world.rst
View file @
e6694f92
...
...
@@ -25,4 +25,5 @@ about the firmware application.
# On a different shell instance
mockturtle-cpu-restart -D $DEVID -i $CPU_INDEX
.. highlight:: c
.. literalinclude:: ../../demos/hello_world_framework/firmware/fw-01/fw-hellofrm.c
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment