Skip to content

Commit 0888419

Browse files
authored
Fix EtherCAT documentation formatting to enable HTML build. (open-edge-platform#983)
1 parent 26a2c7f commit 0888419

File tree

1 file changed

+5
-13
lines changed
  • libraries/edge-control-libraries/fieldbus/ethercat-masterstack

1 file changed

+5
-13
lines changed

libraries/edge-control-libraries/fieldbus/ethercat-masterstack/README.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ For User-space EtherCAT Master Stack, please visit [Userspace EtherCAT Master St
1919

2020
The architecture is as following:
2121

22-
<p>
23-
<img src="docs/images/igh_arch.png" alt="EtherCAT Master Stack Architecture" title="EtherCAT Master Stack Architecture" style="height:65%;width:65%;">
24-
</p>
22+
!["EtherCAT Master Stack Architecture"](docs/images/igh_arch.png)
23+
2524

2625
Three key blocks have been introduced to support the core architecture:
2726
* **Master Module** is as Kernel module containing one or more EtherCAT master instances, the 'Device interface' and the 'Application Interface'.
@@ -102,22 +101,16 @@ The below commands have to entered as root, which will install the EtherCAT head
102101
A mandatory ``ethercat`` file installed in ``/etc/sysconfig/``. The ``ethercat`` file contains the configuration variables needed to operate one or more masters.
103102
Do the following to configure it:
104103

105-
<p>
106-
<img src="docs/images/ethercat_sysconfig.png" style="height:45%;width:45%;">
107-
</p>
104+
![Ethernet SysConfig](docs/images/ethercat_sysconfig.png)
108105

109106
* Set **REBIND_NICS**. Use ``lspci`` to query net devices. One of the devices might be specified as an EtherCAT network interface.
110107

111-
<p>
112-
<img src="docs/images/lspci.png" style="height:45%;width:45%;">
113-
</p>
108+
![lspci](docs/images/lspci.png)
114109

115110
* Fill the MAC address for **MASTER0_DEVICE**.
116111
Get the MAC address of the Network Interface Controllers (NICs) selected for EtherCAT.
117112

118-
<p>
119-
<img src="docs/images/ifconfig.png" style="height:45%;width:45%;">
120-
</p>
113+
![ifconfig](docs/images/ifconfig.png)
121114

122115
**Note:** EtherCAT Master Stack supports dual master configuration. To configure a secondary master, fill the MAC address for **MASTER1_DEVICE** and add PCI address in **REBIND_NICS**.
123116

@@ -159,7 +152,6 @@ After the ``init`` script and the ``sysconfig`` file are ready to configure, and
159152
| Status of EtherCAT Master | ```/etc/init.d/ethercat status``` |
160153

161154
### Makefile Template for EtherCAT application
162-
-------------------------------------------
163155

164156
Provided below are some Makefile templates for EtherCAT application. These templates are provided to build EtherCAT application without ``Makefile.am``.
165157

0 commit comments

Comments
 (0)