CONFIG_XENO_OPT_NATIVE_INTR?
Hello,
When I want to call "rt_intr_create(&intr_timer,"MyIrq",irq,I_NOAUTOENA)" function it returns -ENOSYS.CONFIG_XENO_OPT_NATIVE_INTR is off in default.I want to make it on.How can I do it?Which files and directories should I look for?Any help will be greatly appreciated.
egemen.
Quoted 6 lines · egemen kaleli
Hello,
When I want to call "
rt_intr_create(&intr_timer,"MyIrq",irq,I_NOAUTOENA)" function it returns -ENOSYS.CONFIG_XENO_OPT_NATIVE_INTR is off in default.I want to make it on.How can I do it?Which files and directories should I look for?Any help will be greatly appreciated.
Usually You only need to handle irqs in a driver, and a xenomai driver is doing it with the RTDM skin
and the system call: rtdm_irq_request (see the API docs) This is the reason CONFIG_XENO_OPT_NATIVE_INTR is off by default If You want to switch it on anyway, You can do it in the kernel config page for the native skin.
Ulrich Schwab