I have an ARM kit beside me and a Linux kernel source code patched with Xenomai on my machine. I understand I can send data to the kit through an USB cable and a (windows-based, of course) software, but I'm stumped as to exactly what I should be sending that would make the kit run Linux.
(clarifications from comments: It is an Atmel AT9...
Program is part of the Xenomai test suite, cross-compiled from Linux PC into Linux+Xenomai ARM toolchain.
# echo $LD_LIBRARY_PATH
/lib ...
How would I set up a task that, say, turns a led on and off every second, in a device driver (module)? I've tried using rtdm_task_init and it successfully sets the task, but when I use rtdm_task_wait_period, it returns -EINVAL (meaning it's not seen as periodic by the system).
...
I'm writing a xenomai applications which spawns a few threads:
rt_task_spawn(&fcThread, "fcThread", FC_THREAD_STACK, FC_THREAD_PRIO, 0, &run, (void*)(this))
Each thread is very simple and looks like this:
while (true)
{
rt_queue_read(pThis->pMsgQueue, (void*)(&msg), sizeof(mystruct), TM_INFINITE)
…
}
They are simple threads but...