All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: niklaus.giger@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Working example for direct memory mapped IO
Date: Thu, 14 Dec 2006 14:14:18 +0100	[thread overview]
Message-ID: <45814E2A.9020106@domain.hid> (raw)
In-Reply-To: <200612132248.36493.niklaus.giger@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 1313 bytes --]

Niklaus Giger wrote:
> Hi
> 
> To document basic Xenomai/Linux patterns I developed the attached small 
> example for our PPC405 board, which just rolls the 8 debug LEDs.
> 
> Are there any comments about it? 

I like the idea of having useful generic code patterns like this in the
examples repos. But I also have a few wishes regarding this particular one:

 * I would prefer that generic patterns are coded against POSIX or maybe
   Native, not against a special RTOS skin (not everyone know the
   VxWorks API by heart ;) ).

 * Try to make use of as less additional patterns beyond the core aspect
   as possible. E.g., running the lights in main would avoid quite some
   code for init/cleanup. This helps the reader to grab the essence of
   the demo. Still, the demo should remain functional!

 * Please format your code according to kernel style (could be any
   style, but we need a standard, so pick that one)

> 
> Shall I put it into the Wiki at http://www.xenomai.org/index.php/Examples or 
> does somebody want to commit it to the examples part of the subversion trunk?

I would happily merge a cleaned up version into the repos, e.g. under
the related skin.

Thanks,
Jan


PS: If you want to contribute VxWorks-specific code pattern, you are
welcome as well!


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2006-12-14 13:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-13 21:48 [Xenomai-help] Working example for direct memory mapped IO Niklaus Giger
2006-12-14 13:14 ` Jan Kiszka [this message]
2006-12-15 20:25   ` Niklaus Giger
2006-12-17 20:26     ` Jan Kiszka
2006-12-19 20:04       ` Niklaus Giger
2006-12-19 20:35         ` Jan Kiszka
  -- strict thread matches above, loose matches on Subject: below --
2006-12-14 14:14 Fillod Stephane

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=45814E2A.9020106@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=niklaus.giger@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.