All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Linus Casassa <linus@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Xenomai on gumstix
Date: Sat, 03 Oct 2009 12:08:01 +0200	[thread overview]
Message-ID: <4AC72281.9090901@domain.hid> (raw)
In-Reply-To: <47a3101a0910021728p63da56f7g59edabc521cc4dfe@domain.hid>

Linus Casassa wrote:
> It works!
> 
> But I notice that the frequency is bad configured.
> 
> I am using the trivial-periodic example.
> http://www.xenomai.org/documentation/xenomai-2.4/html/api/trivial-periodic_8c-example.html
> 
> I had to change
> rt_task_set_periodic(NULL, TM_NOW, 1000000000);
> to
> rt_task_set_periodic(NULL, TM_NOW, 1000);
> to get 1 second.
> 
> How can I fix this?

You probably selected a periodic timer for the native skin. The example
is made for the aperiodic timer.

-- 
					    Gilles.


  reply	other threads:[~2009-10-03 10:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-03  0:28 [Xenomai-help] Xenomai on gumstix Linus Casassa
2009-10-03 10:08 ` Gilles Chanteperdrix [this message]
2009-10-04  6:03   ` Linus Casassa
2009-10-04  8:42     ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2009-01-16 20:02 [Xenomai-help] Xenomai on Gumstix BERRUER Sébastien
2009-01-17  0:30 ` Gilles Chanteperdrix
     [not found] <20090116144238.805j8jy1w0s4ss08@domain.hid>
2009-01-16 16:57 ` Felipe Brandão Cavalcanti
2009-01-12 10:04 Sebastien.Berruer
2009-01-12 10:14 ` Gilles Chanteperdrix
2009-01-13 12:17   ` Felipe Brandão Cavalcanti
2009-01-13 14:41     ` Gilles Chanteperdrix
     [not found]       ` <8b216e9e0901130903h494d26c6vc3861fe35fb4efa4@domain.hid>
2009-01-13 17:04         ` Felipe Brandão Cavalcanti
2009-01-13 17:09         ` Gilles Chanteperdrix

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=4AC72281.9090901@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=linus@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.