Skip to content

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