hc
2024-11-01 2f529f9b558ca1c1bd74be7437a84e4711743404
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# This file is usually located in <PREFIX>/etc/rtnet.conf
# Please adapt it to your system.
# This configuration file is used with the rtnet script.
 
# RTnet installation path
prefix="@prefix@"
exec_prefix="@exec_prefix@"
RTNET_MOD="/lib/modules/`uname -r`/kernel/drivers/xenomai/net"
RTIFCONFIG="@sbindir@/rtifconfig"
RTCFG="@sbindir@/rtcfg"
TDMACFG="@sbindir@/tdmacfg"
 
# Module suffix: ".o" for 2.4 kernels, ".ko" for later versions
MODULE_EXT=".ko"
 
 
 
# RT-NIC driver
RT_DRIVER="rt_eepro100"
RT_DRIVER_OPTIONS=""
 
# PCI addresses of RT-NICs to claim (format: 0000:00:00.0)
#   If both Linux and RTnet drivers for the same hardware are loaded, this
#   list instructs the start script to rebind the given PCI devices, detaching
#   from their Linux driver, attaching it to the RT driver above. Example:
#   REBIND_RT_NICS="0000:00:19.0 0000:01:1d.1"
REBIND_RT_NICS=""
 
# IP address and netmask of this station
#   The TDMA_CONFIG file overrides these parameters for masters and backup
#   masters. Leave blank if you do not use IP addresses or if this station is
#   intended to retrieve its IP from the master based on its MAC address.
IPADDR="10.0.0.1"
NETMASK=""
 
# Start realtime loopback device ("yes" or "no")
RT_LOOPBACK="yes"
 
# Use the following RTnet protocol drivers
RT_PROTOCOLS="udp packet"
 
# Start capturing interface ("yes" or "no")
RTCAP="no"
 
 
 
# Common RTcfg stage 2 config data (master mode only)
#   The TDMA_CONFIG file overrides this parameter.
STAGE_2_SRC=""
 
# Stage 2 config data destination file (slave mode only)
STAGE_2_DST=""
 
# Command to be executed after stage 2 phase (slave mode only)
STAGE_2_CMDS=""
 
 
 
# TDMA mode of the station ("master" or "slave")
#   Start backup masters in slave mode, it will then be switched to master
#   mode automatically during startup.
TDMA_MODE="master"
 
 
# Master parameters
 
# Simple setup: List of TDMA slaves
TDMA_SLAVES="10.0.0.2 10.0.0.3 10.0.0.4"
 
# Simple setup: Cycle time in microsecond
TDMA_CYCLE="5000"
 
# Simple setup: Offset in microsecond between TDMA slots
TDMA_OFFSET="200"
 
# Advanced setup: Config file containing all TDMA station parameters
#   To use this mode, uncomment the following line and disable the
#   three master parameters above (SLAVES, CYCLE, and OFFSET).
#TDMA_CONFIG="@sysconfdir@/tdma.conf"