[Xenomai] RTDM driver init: interrupts and context objects
rpm at xenomai.org
Sun Mar 19 10:51:12 CET 2017
On 03/18/2017 05:28 PM, Andrija Stupar wrote:
> Well, I can answer my own question from a couple of weeks ago. Nothing
> was wrong with the way the RTDM interrupts were coded - the port from
> Linux to RTDM was done properly. The problem was a mode switch, falling
> into secondary (non-RT) mode. As I gather from the Xenomai RTDM API
> documentation, rtdm_event_wait(...) can only be called in RT mode. That
> is, if you call it non-RT mode it does nothing. When this call is made
> in non-RT mode, it just falls through (i.e. it does nothing).
Actually, it does something wrong. You should always enable
CONFIG_XENO_DEBUG_COBALT to detect those spurious call sites.
More information about the Xenomai