Skip to contentSkip to conversation

Migrating rt_dev_... from Xenomai 2.x to 3.x

DISCUSSION Petr Červenka 1 participant 1 message May 11, 2020

lore
Share & tools
lore
#0 lore raw

Hello everyone.
I used "Native" skin, rtnet and rt_dev_... functions in Xenomai 2.6.x.
Now I'm trying to port it to Xenomai 3 Alchemy skin.

I found out two ways how to do it (without deeper knowledge):
1) posix like functions socket | open | ioctl | ... and ldflag "-Wl,@/usr/xenomai/lib/cobalt.wrappers".
2) explicit __RT(socket | open | ioctl | ....) function calls.

What is the proper way to port rt_dev_... functions?

Petr C.