Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OS X port #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

henriclinden
Copy link

Port to Mac OS X = added cmake configuration "darwin".
Other minor fixes;

  • some type casts, inits, etc.
  • local includes should be declared using "" instead of <> (which searches the system includes first)
  • gtest not longer mandatory.

@mheden
Copy link
Collaborator

mheden commented Apr 29, 2016

Please squash all commits that has to to with the OSX-port to one.

@henriclinden
Copy link
Author

All changes has been pushed (to my fork) already. How can I squash pushed commits?

@henriclinden
Copy link
Author

Commits now squashed. A "git push origin master --force" did the trick.

@tjacobs
Copy link

tjacobs commented Dec 22, 2018

What's the status of SOEM-NG? Can we use this for detecting ethercat slaves, reading sensor values, and sending commands? We'd like to run SOEM on MacOS.

@henriclinden
Copy link
Author

henriclinden commented Dec 22, 2018 via email

@tjacobs
Copy link

tjacobs commented Dec 22, 2018

Cool, thanks for replying. I see. It does compile fine, but then I'll need to decide on using this one and porting our code vs the SOEM one which we already have working on other systems.

I guess the SOEM-NG is a next generation version of SOEM, and has a different way of doing the hardware and OS abstraction?

For our case, we just need to:

  • List and choose ethernet interface with ethercat devices
  • Detect slaves
  • Read sensor values
  • Write commands

I guess the NG version has the ability to do these things?

@tjacobs
Copy link

tjacobs commented Dec 22, 2018

Or is my best bet to bring the Darwin.cmake and some of the osal/darwin code back into SOEM? It was just the netpacket.h stuff that needed changing to net_ifdl.h AF_LINK in oshw/linux/nicdrv.c that was different on darwin.

@henriclinden
Copy link
Author

henriclinden commented Dec 24, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants