OpenEtherCATsociety / SOES

Simple Open Source EtherCAT Slave
Other
581 stars 250 forks source link

Using SOES(lan9252) on Linux #23

Closed KwonTae-young closed 7 years ago

KwonTae-young commented 7 years ago

I have run SOES on Linux using LAN9252. Embedded Board : ODROID-C1 EtherCAT Slave Controller : EVB-LAN9252-ADD-ON EtherCAT Master PLC : ORMON NJ501-1500 Ver.1.09 1

This "pull request" has been modified to use SOES on Linux.

It is an inadequate source to merge. (source tree, bug, Testing in my Linux environment, stability, etc) Send "pull request" at nakarlsson's request.

nakarlsson commented 7 years ago
  1. I see you've modifed rt-kernel-lan9252 and rtl_lan9252demo, those are non-Linux target, they're for our RTOS rt-kernel and shouldn't need to be modifed?

  2. Can you please squash the commits to 1 commit?

KwonTae-young commented 7 years ago
  1. To use SOES through the added spi-lan9252(linux device driver), rt-kernel-lan9252 needs some modification. I have modified rt-kernel-lan9252 to be compatible with the spi-lan9252 driver in linux. This is caused by the difference of spi operation between RTOS and linux.

  2. 1 commit to create a new pull request.