thanhtam-h / soem-w5500-rpi

Realtime ethercat master for Raspberry pi
GNU General Public License v3.0
225 stars 88 forks source link

Xenomai task/thread APIs #19

Closed tuantdang closed 4 years ago

tuantdang commented 4 years ago

In osal.c use still use pthread from Linux I think it is better if you use set of task management of Xenomai such as rt_task_create, rt_task_start, ...

tuantdang commented 4 years ago

Does it looks like Xenomai 3 version porting from SOEM 1.3.1 and RT version from 1.3.0?

thanhtam-h commented 4 years ago

osal_thread_create and osal_thread_create_rt in osal.c will not be used so they are not adapted to Xenomai task, only time related functions were ported. Picat xenomai version use SOEM 1.4.0 while Picat preempt-rt use SOEM 1.3.0 (popular revision)