CANopenNode / CANopenLinux

CANopenNode on Linux devices
Apache License 2.0
111 stars 51 forks source link

How to generate object dictionary with EDS tool #5

Closed lenkapolaskova closed 3 years ago

lenkapolaskova commented 3 years ago

Hi, I need to create my own object dictionary with EDS editor tool (https://github.com/CANopenNode/CANopenEditor). But when I load DS301_profile.eds to the editor and export OD files they are different. Instead of OD.c/OD.h a CO_OD.c/CO_OD.h are generated and are completelly incompatible. How to use CanOpenLinux with user-generated OD? Thank you

CANopenNode commented 3 years ago

eds file is just exported, it contains no CANopenNode specific information. Load xpd or xdd file (non-stripped).

lenkapolaskova commented 3 years ago

Thanks for fast reply. I realized that I downloaded an EDSEditor from fork: https://github.com/robincornelius/libedssharp it uses the same GUI design but appears to work in slight different way and do not allow to load xpd files. So with original EDSEditor I can continue. Thank you