From: Wolfgang Grandegger <wg@domain.hid>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] Re: (was: [Xenomai-help] CAN driver)
Date: Thu, 22 Feb 2007 09:30:28 +0100 [thread overview]
Message-ID: <45DD54A4.5040204@domain.hid> (raw)
In-Reply-To: <45DC9C9D.4050107@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1222 bytes --]
Hi Gilles and Jan,
Jan Kiszka wrote:
> Wolfgang Grandegger wrote:
>>>> BTW: some time ago I provided a patch to make the CAN utility programs
>>>> part of the Doxygen documentation. IIRC, we said it's nice to have
>>>> hyperlinked examples in general.
>>> Some link at hand? Does it still apply? Sounds like something worth to
>>> apply.
>> See https://mail.gna.org/public/xenomai-core/2006-11/msg00033.html.
>> My patch was for the CAN utilities only. The idea was to have a more
>> general implementation including code snippets and now examples as well.
>>
>> Wolfgang.
>>
>
> Gilles, as you are planning to regenerate the docs for trunk anyway,
> would you merge this patch (or better the corrected version) at that chance?
Attached is a revised patch for hyper-linking with example and utility
programs. Apart from the CAN utilities, I have also added cross-link.c
for RTserial and the code snippets of the native skin by adding
"@example" tags to the appropriate source files. For the "demos" of the
skins it was not obvious for me where to put them. The examples are then
also part of the PDF documentation. Please have a look, hope you like
it. I personally find the hyper-linking very useful.
Wolfgang.
[-- Attachment #2: xenomai-doc.patch --]
[-- Type: text/x-patch, Size: 5880 bytes --]
Index: include/rtdm/rtserial.h
===================================================================
--- include/rtdm/rtserial.h (revision 2221)
+++ include/rtdm/rtserial.h (working copy)
@@ -459,6 +459,12 @@ typedef struct rtser_event {
_IOR(RTIOC_TYPE_SERIAL, 0x05, struct rtser_event)
/** @} */
+/*!
+ * @anchor RTSERutils @name RT Serial example and utility programs
+ * @{ */
+/** @example cross-link.c */
+/** @} */
+
/** @} */
#endif /* _RTSERIAL_H */
Index: include/rtdm/rtcan.h
===================================================================
--- include/rtdm/rtcan.h (revision 2221)
+++ include/rtdm/rtcan.h (working copy)
@@ -1163,6 +1163,15 @@ typedef struct can_frame {
/** @} */
+/*!
+ * @anchor CANutils @name CAN example and utility programs
+ * @{ */
+/** @example rtcanconfig.c */
+/** @example rtcansend.c */
+/** @example rtcanrecv.c */
+/** @example rtcan_rtt.c */
+/** @} */
+
/** @} */
Index: ksrc/skins/native/mutex.c
===================================================================
--- ksrc/skins/native/mutex.c (revision 2221)
+++ ksrc/skins/native/mutex.c (working copy)
@@ -42,6 +42,8 @@
*
*@{*/
+/** @example mutex.c */
+
#include <nucleus/pod.h>
#include <nucleus/registry.h>
#include <native/task.h>
Index: ksrc/skins/native/task.c
===================================================================
--- ksrc/skins/native/task.c (revision 2221)
+++ ksrc/skins/native/task.c (working copy)
@@ -38,6 +38,11 @@
*
*@{*/
+/** @example user_task.c */
+/** @example kernel_task.c */
+/** @example bound_task.c */
+/** @example sigxcpu.c */
+
#include <nucleus/pod.h>
#include <nucleus/heap.h>
#include <nucleus/registry.h>
Index: ksrc/skins/native/intr.c
===================================================================
--- ksrc/skins/native/intr.c (revision 2221)
+++ ksrc/skins/native/intr.c (working copy)
@@ -27,6 +27,8 @@
*
*@{*/
+/** @example user_irq.c */
+
#include <nucleus/pod.h>
#include <nucleus/registry.h>
#include <native/task.h>
Index: ksrc/skins/native/heap.c
===================================================================
--- ksrc/skins/native/heap.c (revision 2221)
+++ ksrc/skins/native/heap.c (working copy)
@@ -41,6 +41,9 @@
*
*@{*/
+/** @example local_heap.c */
+/** @example shared_mem.c */
+
#include <nucleus/pod.h>
#include <nucleus/registry.h>
#include <native/task.h>
Index: ksrc/skins/native/event.c
===================================================================
--- ksrc/skins/native/event.c (revision 2221)
+++ ksrc/skins/native/event.c (working copy)
@@ -37,6 +37,8 @@
*
*@{*/
+/** @example event_flags.c */
+
#include <nucleus/pod.h>
#include <nucleus/registry.h>
#include <native/task.h>
Index: ksrc/skins/native/cond.c
===================================================================
--- ksrc/skins/native/cond.c (revision 2221)
+++ ksrc/skins/native/cond.c (working copy)
@@ -39,6 +39,8 @@
*
*@{*/
+/** @example cond_var.c */
+
#include <nucleus/pod.h>
#include <nucleus/registry.h>
#include <native/task.h>
Index: ksrc/skins/native/sem.c
===================================================================
--- ksrc/skins/native/sem.c (revision 2221)
+++ ksrc/skins/native/sem.c (working copy)
@@ -40,6 +40,8 @@
*
*@{*/
+/** @example semaphore.c */
+
#include <nucleus/pod.h>
#include <nucleus/registry.h>
#include <native/task.h>
Index: ksrc/skins/native/queue.c
===================================================================
--- ksrc/skins/native/queue.c (revision 2221)
+++ ksrc/skins/native/queue.c (working copy)
@@ -40,6 +40,8 @@
*
*@{*/
+/** @example msg_queue.c */
+
#include <nucleus/pod.h>
#include <nucleus/registry.h>
#include <native/task.h>
Index: ksrc/skins/native/alarm.c
===================================================================
--- ksrc/skins/native/alarm.c (revision 2221)
+++ ksrc/skins/native/alarm.c (working copy)
@@ -34,6 +34,8 @@
*
*@{*/
+/** @example user_alarm.c */
+
#include <nucleus/pod.h>
#include <nucleus/registry.h>
#include <native/task.h>
Index: ksrc/skins/native/pipe.c
===================================================================
--- ksrc/skins/native/pipe.c (revision 2221)
+++ ksrc/skins/native/pipe.c (working copy)
@@ -45,6 +45,8 @@
*
*@{*/
+/** @example pipe.c */
+
#include <nucleus/pod.h>
#include <nucleus/heap.h>
#include <nucleus/registry.h>
Index: doc/doxygen/Doxyfile-common.in
===================================================================
--- doc/doxygen/Doxyfile-common.in (revision 2221)
+++ doc/doxygen/Doxyfile-common.in (working copy)
@@ -389,21 +389,27 @@ EXCLUDE_PATTERNS =
# directories that contain example code fragments that are included (see
# the \include command).
-EXAMPLE_PATH =
+EXAMPLE_PATH = ../../ksrc/skins/native/snippets \
+ ../../ksrc/skins/native/demos \
+ ../../ksrc/skins/posix/demos \
+ ../../ksrc/skins/psos+/demos \
+ ../../ksrc/skins/vxworks/demos \
+ ../../src/utils \
+ ../../examples
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
# and *.h) to filter out the source-files in the directories. If left
# blank all files are included.
-EXAMPLE_PATTERNS =
+EXAMPLE_PATTERNS = *.c
# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
# searched for input files to be used with the \include or \dontinclude
# commands irrespective of the value of the RECURSIVE tag.
# Possible values are YES and NO. If left blank NO is used.
-EXAMPLE_RECURSIVE = NO
+EXAMPLE_RECURSIVE = YES
# The IMAGE_PATH tag can be used to specify one or more files or
# directories that contain image that are included in the documentation (see
next prev parent reply other threads:[~2007-02-22 8:30 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-21 10:20 [Xenomai-help] CAN driver Roland Tollenaar
2007-02-21 10:52 ` Jan Kiszka
2007-02-21 12:23 ` Wolfgang Grandegger
2007-02-21 12:43 ` Jan Kiszka
2007-02-21 13:00 ` Wolfgang Grandegger
2007-02-21 13:11 ` Roland Tollenaar
2007-02-21 14:00 ` Jan Kiszka
2007-02-21 19:25 ` [Xenomai-core] (was: [Xenomai-help] CAN driver) Jan Kiszka
2007-02-21 21:02 ` [Xenomai-core] " Gilles Chanteperdrix
2007-02-22 0:06 ` Philippe Gerum
2007-02-22 8:30 ` Wolfgang Grandegger [this message]
2007-02-22 9:00 ` Gilles Chanteperdrix
2007-02-22 20:18 ` Gilles Chanteperdrix
2007-02-22 9:09 ` [Xenomai-help] CAN driver Wolfgang Grandegger
2007-02-22 10:14 ` roland Tollenaar
2007-02-22 10:40 ` roland Tollenaar
2007-02-22 11:22 ` Jan Kiszka
2007-02-22 11:19 ` Jan Kiszka
2007-02-22 11:39 ` roland Tollenaar
2007-02-22 11:53 ` Wolfgang Grandegger
2007-02-22 12:06 ` roland Tollenaar
2007-02-22 12:23 ` Wolfgang Grandegger
2007-02-22 12:34 ` roland Tollenaar
2007-02-22 12:54 ` Wolfgang Grandegger
2007-02-22 13:02 ` roland Tollenaar
2007-02-22 13:18 ` Wolfgang Grandegger
2007-02-22 13:36 ` roland Tollenaar
2007-02-22 13:42 ` Wolfgang Grandegger
2007-02-22 13:57 ` roland Tollenaar
2007-02-22 14:13 ` Wolfgang Grandegger
2007-02-22 14:52 ` roland Tollenaar
2007-02-22 15:22 ` Wolfgang Grandegger
2007-02-22 20:39 ` Roland Tollenaar
2007-02-22 21:25 ` Wolfgang Grandegger
2007-02-23 10:14 ` roland Tollenaar
2007-02-23 10:52 ` roland Tollenaar
2007-02-23 10:59 ` Gilles Chanteperdrix
2007-02-23 12:04 ` roland Tollenaar
2007-02-23 12:31 ` Paul
2007-02-23 13:25 ` roland Tollenaar
2007-02-23 13:43 ` Jan Kiszka
2007-02-23 15:00 ` roland Tollenaar
2007-02-23 15:29 ` Jan Kiszka
2007-02-23 13:52 ` Paul
[not found] ` <45DF08B0.1020901@domain.hid>
[not found] ` <200702231559.43782.paul_c@domain.hid>
2007-02-23 16:23 ` Roland Tollenaar
2007-02-22 11:48 ` Wolfgang Grandegger
-- strict thread matches above, loose matches on Subject: below --
2007-02-21 20:27 [Xenomai-core] Re: (was: [Xenomai-help] CAN driver) Wolfgang Grandegger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45DD54A4.5040204@domain.hid \
--to=wg@domain.hid \
--cc=jan.kiszka@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.