robincornelius / libedssharp

A CanOpen EDS editor and library in C# with CanOpenNode export for Object Dictionary
GNU General Public License v3.0
227 stars 134 forks source link

Controlling memory location of od data #256

Open cfr-mir opened 3 years ago

cfr-mir commented 3 years ago

Generate placeholders for storage attributes on OD data structures. make the "ROM" option matter.

CANopenNode commented 3 years ago

libedssharp has been forked to https://github.com/CANopenNode/CANopenEditor, I'm updating there. (In agreement with Robin Cornelius, updates will continue there, he is there also a maintainer.)

So I added this PR in https://github.com/CANopenNode/CANopenEditor, branch main. I also renamed attribute and added default definition, like so:

#ifndef OD_ATTR_PERSIST_COMM
#define OD_ATTR_PERSIST_COMM
#endif
extern OD_ATTR_PERSIST_COMM OD_PERSIST_COMM_t OD_PERSIST_COMM;
...
CANopenNode commented 3 years ago

This PR is not relevant any more, because it is included in https://github.com/CANopenNode/CANopenEditor.