Jan Kiszka wrote:
Yea, maybe that periodic timer mode is not compiled in and
rt_timer_start fails in your original example. I think it's off by
Yeah, got it! Sorry for not supplying error code earlier!
In Xeno source:
int xnpod_start_timer (u_long nstick, xnisr_t tickhandler)
if (nstick != XN_APERIODIC_TICK)
return -ENODEV; /* No periodic support */
#endif /* CONFIG_XENO_HW_PERIODIC_TIMER */
..and guess what: I got -ENODEV back on rt_timer_start!
In .config I have
# CONFIG_XENO_HW_PERIODIC_TIMER is not set
So the puzzle is solved!
Just one question: what's the reason why the periodic mode
is disabled by default ?
Thanks & best regards,