Commit e6694f92 authored by Federico Vaga's avatar Federico Vaga

doc: proper highlight code

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 91a93330
......@@ -43,4 +43,5 @@ in the following table.
- 1
- Send notifications
.. highlight:: c
.. literalinclude:: ../../demos/alarm_clock/firmware/fw-01/fw-ac.c
......@@ -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
......@@ -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
......
......@@ -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
Markdown is supported
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