fp@1080: ------------------------------------------------------------------------------- fp@1080: fp@1080: $Id$ fp@1080: fp@1080: ------------------------------------------------------------------------------- fp@1080: fp@1080: This is a minimal example module for the use of the EtherCAT master realtime fp@1080: interface with an RTAI thread. fp@1080: fp@1080: The module expects an RTAI installation. Configure the master sources fp@1080: specifying --with-rtai-dir to have the right include paths. fp@1080: fp@1080: Most probably you'll have different EtherCAT slaves present. Try adjusting the fp@1080: section "process data" in rtai_sample.c to your bus configuration. fp@1080: fp@1080: There are some features that can be disabled by commenting out the respective fp@1080: defines at the head of rtai_sample.c. fp@1080: fp@1080: --- fp@1080: fp@1080: To build the example module, call: fp@1080: fp@1080: make modules fp@1080: fp@1080: To run it, load the appropriate RTAI modules and call: fp@1080: fp@1080: insmod ec_rtai_sample.ko fp@1080: fp@1080: ...and watch the system logs for the outputs. fp@1080: fp@1080: -------------------------------------------------------------------------------