I have to plane next one. I think about
shawdow_task (to use device in rt mode) and synchronization. If people
have idea for others example, I would be pleased to read them.
regards,
trem
tut01_skeleton_01.patch.bz2
Description: application/bzip
_
ds,
Philippe
Index: tut02-skeleton-app.c
===
--- tut02-skeleton-app.c (révision 0)
+++ tut02-skeleton-app.c (révision 0)
@@ -0,0 +1,114 @@
+/***
+ * Copyright (
Hi
Thanks for the reply (jan too). I've tried to use all of your feedback,
and I send you the new release of this tut02.
regards,
Philippe
Gilles Chanteperdrix wrote:
> trem wrote:
> > + mlockall(MCL_CURRENT | MCL_FUTURE);
>
> Please show people the right way to code, ch
Hi
You're right, perror could be used instead of strerror(-ret), it's
simpler. And I've remoded all "fflush", as you said, there are useless
and it's a tutorial about xenomai. So I think that those "fflush" aren't
necessary.
Thanks for feedback,
Jan Kiszka wrote:
> trem wrote:
>> Jan Kiszka wrote:
>>> trem wrote:
>>>
>>>> Jan Kiszka wrote:
>>>>
>>>>> Steven Kauffmann wrote:
>>>>>
>>>>>> Hi
>>>>>>
Hi
As already discussed with Jan, I've changed the tut01. Now :
- it use a global buffer
- tut01-skeleton-app has the same behaviour as tut02-skeleton-app. With
no argument, the program read in the device, with an argument, the
program write in the device.
regards,
Philippe
PS : the website seem
Jan Kiszka wrote:
> Hi Philippe,
>
> sorry for the delay - I was and still am short on time.
>
> trem wrote:
>> Hi
>>
>> Oh, I understand your point of view, and I found it fine. We do an
>> example quite complete (and with some sense), and we split it into
Hi
I've written a little exemple for rtdm. It uses open, close, read, write
ioctl and 3 kind of buffer (local, device, global). This is an alpha
release, so I'll be pleased to get some feedback.
you can find it here :
http://zarb.org/~trem/tut03-skeleton-drv.c
http://zarb.org/~
Jan Kiszka wrote:
> trem wrote:
>> Hi
>>
>> I've written a little exemple for rtdm. It uses open, close, read, write
>> ioctl and 3 kind of buffer (local, device, global). This is an alpha
>> release, so I'll be pleased to get some feedback.
>>
&