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

Support multiple ODs #221

Open
wants to merge 11 commits into
base: xdd
Choose a base branch
from
Open

Support multiple ODs #221

wants to merge 11 commits into from

Conversation

cfr-mir
Copy link
Contributor

@cfr-mir cfr-mir commented Aug 12, 2020

To allow multiple OD to coexist in CANopenNode, one needs to prefix all constants and variables to avoid duplicate names between the ODs.
Further I have added a const struct filled with constants for the OD.
The prefix are taken from Device Info/Device Commisioning/Node name. This may not be appropriate.

I made a PR to CANopenNode, which, can use the exported code.

Mostly this PR are made to discuss the approach

@CANopenNode
Copy link
Contributor

With CAnopenNode v4 some of the ideas of this PR has been included there. I think, this PR is not relevant any more.

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.

2 participants