Skip to contentSkip to conversation

rtdm driver

Xenomai-help Leopold Palomo-Avellaneda 2 participants 2 messages Nov 8, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

sorry if the question is simple stupid but I have downloaded some code from
[1] and I have realized that they have develop some drivers using rtdm model, but developed for rtai.

Looking the code, it seems that there's no rtai includes (just ones for the examples with creation of tasks, etc).

So, use this code in xenomai should be straightforward, no?

[1] http://www.orchestracontrol.com
--
Linux User 152692
Catalonia

#1 lore raw
Quoted 10 lines · Leopold Palomo-Avellaneda

Hi,

sorry if the question is simple stupid but I have downloaded some code from
[1] and I have realized that they have develop some drivers using rtdm model, but developed for rtai.

Looking the code, it seems that there's no rtai includes (just ones for the examples with creation of tasks, etc).

So, use this code in xenomai should be straightforward, no?

Yes - except when it's not. :)

RTDM was designed to make drivers more portable, and this has been proven to work a few times before. You may want to give it a try.

Jan