examples/rtai/README
changeset 1080 088a61306930
equal deleted inserted replaced
1079:ef1266652c4d 1080:088a61306930
       
     1 -------------------------------------------------------------------------------
       
     2 
       
     3 $Id$
       
     4 
       
     5 -------------------------------------------------------------------------------
       
     6 
       
     7 This is a minimal example module for the use of the EtherCAT master realtime
       
     8 interface with an RTAI thread.
       
     9 
       
    10 The module expects an RTAI installation. Configure the master sources
       
    11 specifying --with-rtai-dir to have the right include paths.
       
    12 
       
    13 Most probably you'll have different EtherCAT slaves present. Try adjusting the
       
    14 section "process data" in rtai_sample.c to your bus configuration.
       
    15 
       
    16 There are some features that can be disabled by commenting out the respective
       
    17 defines at the head of rtai_sample.c.
       
    18 
       
    19 ---
       
    20 
       
    21 To build the example module, call:
       
    22 
       
    23 make modules
       
    24 
       
    25 To run it, load the appropriate RTAI modules and call:
       
    26 
       
    27 insmod ec_rtai_sample.ko
       
    28 
       
    29 ...and watch the system logs for the outputs.
       
    30 
       
    31 -------------------------------------------------------------------------------