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

Warning and error messages with generated CO_OD.h and CO_OD.c files using Copley EDS with CANopenNode Stack on Zephyr #233

Open clewis04 opened 3 years ago

clewis04 commented 3 years ago

Hello,

I am running into issues using libedssharp on windows to generate CO_OD.h and CO_OD.c files using the Copley EDS with CANopenNode Stack on a MCU with Zephyr as the RTOS. When I try to compile with no editing of the eds and just generation of the c and h files, I get errors using the Zephyr CANopenNode Stack that I do not see when I use the socketCAN Linux with this same eds file. Specifically, the objects with no default values are causing issues.

Has anyone run into this issue or know to resolve? Thanks, and links to eds below as a text file and as a download since .eds file types are not supposed.

CopleyAmp.eds.txt

This was directly downloaded from Copley Website: https://www.copleycontrols.com/en/products/ap2-090-14/ Under the Downloads & Resources section under Software named CANopen EDS

eden-desta commented 3 years ago

To add to this: it seems as though, regardless, this tool should generate valid .C and .H files that can be compiled. It appears that that is not the case. Apart from the empty commas it produces, it also suggests that there is an array that has too many variables. Any help with this would be great! Thank you!